title: Dynamic routing Apache Camel
body: <p>Is there some solution to create a camel route dynamically, in time execution? In a common way, we explicitly define a camel route as:</p>
  
  <pre><code>from("direct:a")           
              .to("direct:b");
  </code></pre>
  
  <p>However, I want to create some routes in time execution when be required. For example, from a property file, the application will read the properties and create the routes using the properties. I'll have the code:</p>
  
  <pre><code>from({property1}) 
              .to({property2});
  </code></pre>
  
  <p>If exists one more property file the application must create dynamically another route and add it in the camel context. Is that possible, someone can help me?</p>