title: Apache camel nested routes
body: <p>I am new to Apache camel. I have very common use case that i am struggling to configure camel route. The use case is to take execution context </p>
  
  <ol>
  <li>Update database using execution context. </li>
  <li>Then using event on the execution context, create a byte message and send over MQ. </li>
  <li>Then in the next step again use execution context and perform event processing. </li>
  <li>Update database using execution context. </li>
  </ol>
  
  <p>So basically its kind of nested routes. In the below configuration I need to have access to the executionContext that executionController has created in the updateSchedulerState, sendNotification, processEvent and updateSchedulerState i.e. steps annotated as 1,2, 3 and 4 respectively.</p>
  
  <pre><code>from("direct:processMessage")
      .routeId("MessageExecutionRoute")
      .beanRef("executionController", "getEvent", true)
      .beanRef("executionController", "updateSchedulerState", true)    (1)
      .beanRef("executionController", "sendNotification", true)        (2)
                   .beanRef("messageTransformer", "transform", true)       
                   .to("wmq:NOTIFICATION")
      .beanRef("executionController", "processEvent", true)            (3)
                   .beanRef("eventProcessor", "process", true)
                   .beanRef("messageTransformer", "transform", true)       
                   .to("wmq:EVENT")
      .beanRef("executionController", "updateSchedulerState", true);   (4)
  </code></pre>
  
  <p>Kindly let me know how should i configure the route for the above use case.</p>
  
  <p>Thanks,
  Vaibhav</p>