I'd look at a message filter[1], or a content based router[2]. [1] http://camel.apache.org/message-filter.html
[2] http://camel.apache.org/content-based-router.html Taariq On 14 Nov 2011, at 8:25 PM, kafe <[email protected]> wrote: > Hi all, > > I'm new with Camel and currently, i'm trying to call a web service through > CXF and, depending on the response (a simple String), put the message on a > queue. > > To be clear, i have configured a simple route like that : > > <route id="manageSoapRequest"> > <from uri="cxf:bean:getUserInfoEndpoint" /> > <to uri="cxf:bean:getDistantUserInfoEndpoint" /> > </route> > > That works, i manage to expose my route as a webservice and call the distant > web service but what i'd like to do now is getting the answer and, if the > answer is 'KO' (the service could not do the job), putting the message in a > jms queue to call again the web service later. > > How can i do that ? > > Thanks a lot in advance for your help. > > -- > View this message in context: > http://camel.465427.n5.nabble.com/CFX-how-to-manage-webservice-response-tp4991939p4991939.html > Sent from the Camel - Users mailing list archive at Nabble.com.
