I am trying to use nested routes. The nested routes contain code such as:

MessageContentsList messageContentsList = (MessageContentsList)
exchange.getUnitOfWork().getOriginalInMessage().getBody();

and

String userId = (String) messageContentsList.get(2);

But if I start from my bigger route (which contains the nested routes as
endpoints), the nested route is broken, and it's easy to see why (the
exchange now looks different).

Is there a way to make it work?

I tried to start the the nested routes with:

<from uri="seda:startNestedRoute?waitForTaskToComplete=Always"/>

but it seems not to help.






--
View this message in context: 
http://camel.465427.n5.nabble.com/Nested-routes-tp5763428.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to