Hi Guru Once you store the values in a property or header in Route A , will the route B wait till A has populated the values. How can Route B be notified of this event.
When a camel project starts , all the routes will start together right? Though I haven't used it, will pollEnrich be useful here? Since pollEnrich can be placed in non consumer end points , maybe the collected values can be used while configuring pollEnrich . Cheers Reji On 03/04/2014 1:41 pm, "Gnanaguru S" <[email protected]> wrote: > > I assume all routes are in the same camel context. In that case, you can > retrieve the values whatever you want using any evaluators ( Based on your > message type, like XPath, XQuery, OGNL ) > > Store each value in headers or in properties. Then by calling these > headers/properties you can form the 'from' URI. > > I don't think you need to work with the objects and all. You can do this in > the Camelcontext xml itself. > > Good luck > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Passing-exchange-between-routes-and-accessing-exchange-values-in-from-uri-tp5749667p5749712.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
