You can pass the Exchange Object to your bean. In that bean you can then modify it and return it. Or you can also let your bean return a certain status message or variable and then use that in your route to determine what needs to be done. The return value of your method will then be placed on the body of the exchange.
http://camel.apache.org/bean-binding.html -- View this message in context: http://camel.465427.n5.nabble.com/Working-with-Exchange-from-outside-route-tp5733480p5733487.html Sent from the Camel - Users mailing list archive at Nabble.com.
