cxf is asynchronous. If a thread is blocking somewhere it can be because you use direct component and what calls that may be blocking.
On Fri, Jul 19, 2013 at 1:39 PM, Edwin <edwin.rabbi...@gmail.com> wrote: > Hi Folks, > > I have a route which looks like this: > > from("direct:start").setExchangePattern("InOut").to("cxf:myEndpoint").to("bean:myDAO,method:updateRecord") > > When the response is received from myEndpoint, the database record is > updated. > > myEndpoint typically takes about 5secs to generate a response so I would > prefer to send the requests asynchronously and not hold up the executing > thread while it waits for a response. > > I know the cxf component attempts to do this by default however since the > MEP is InOut, I believe the thread waits for a response. > > Is there anyway to achieve asynchronous sending of the requests while > keeping the MEP at InOut? > > Any thoughts are much appreciated. > > Thanks, > Edwin > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Leveraging-CXF-Asynchronous-processing-when-MEP-is-InOut-tp5735904.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen