Hi, I don't know if i get your question correctly, but DynamicRouter acts like a loop: it will send the exchange over and over to the endpoint name returned by the method "route." It will end the loop when the method "route" will returned "null". So your method should returned "null" when you want to stop from routing and go to next line ".log("${body}");"
Regarding passing variables from one call of a dynamicRouter to another, is better to set in exchange properties instead of message header. Take a look also to RecipientList - maybe it can help you more (this will not do a "loop", it will just send to a bunch of endpoint and continue.) -- View this message in context: http://camel.465427.n5.nabble.com/Returning-response-from-external-webservice-using-dynamicRouter-tp5783073p5783292.html Sent from the Camel - Users mailing list archive at Nabble.com.