title: Apache Camel, calling one route from another
body: <p>I have two routes in one camel context.</p>
  
  <pre><code>&lt;camelContext xmlns="http://camel.apache.org/schema/blueprint"&gt;
          &lt;propertyPlaceholder location="classpath:facebook.properties"
              id="properties" /&gt;
          &lt;route&gt;
              &lt;from uri="jetty:http://0.0.0.0:8765/getLikes" /&gt;
              &lt;to uri="facebook" /&gt;
          &lt;/route&gt;
  
          &lt;route&gt;
              &lt;from uri="facebook://userLikes?oAuthAppId={{oAuthAppId}}&amp;amp;oAuthAppSecret={{oAuthAppSecret}}&amp;amp;oAuthAccessToken={{oAuthAccessToken}}" /&gt;
              &lt;log message="The message contains ${body}" /&gt;
          &lt;/route&gt;
      &lt;/camelContext&gt;
  </code></pre>
  
  <p>In second route I use facebook component.
  I want to call <a href="http://localhost:8765/getLikes" rel="nofollow">http://localhost:8765/getLikes</a> and get all likes from facebook which second route will get. But first route cannot find the second one</p>