You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Hilde <hi...@yahoo.de> on 2012/10/24 15:00:02 UTC

How a dynamic created route can provide the original exchange it was initiated from with informations

Hello Everybody!

In a route we have built in a dynamic Router. There inside the method of
that bean a new RouteBuilder is
created an startet by adding to the camel context. Now I would like the
original exchange provide with 
informations from the new created and now running route. How can i achieve
that?





--
View this message in context: http://camel.465427.n5.nabble.com/How-a-dynamic-created-route-can-provide-the-original-exchange-it-was-initiated-from-with-informations-tp5721499.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: How a dynamic created route can provide the original exchange it was initiated from with informations

Posted by Hilde <hi...@yahoo.de>.
Hello!

after I got some advice from my colleague I have solved it by assign the
exception in the dynamic
route to a class attribute with type Map. Finally after the route was
finished I check this attribute
and if necessary assign it to the original exchange.



Cheers
Hilde



--
View this message in context: http://camel.465427.n5.nabble.com/How-a-dynamic-created-route-can-provide-the-original-exchange-it-was-initiated-from-with-informations-tp5721499p5721543.html
Sent from the Camel - Users mailing list archive at Nabble.com.