On Fri, Sep 17, 2010 at 10:08 PM, lujan99 <luja...@gmail.com> wrote: > > I Use a route where my Bean make a call to a webservice, I use SEDA to > support multiple request. > This are request-response how can I do to not block ? because if I use > request-response with seda with first request seda block until is completed, > and then process next request, If I don't use request-response all request > are processed simultaneously. >
For request/reply the SEDA blocks by default. Otherwise you have to deal with the Future handle. In Camel 3 we may improve this and allow non blocking req/reply over SEDA out of the box. > <route> > <from uri="activemq:test99"/> > <to uri="seda:bar?concurrentConsumers=5"/> > </route> > > <route> > <from uri="seda:bar?concurrentConsumers=5"/> > > <to uri="bean:TestG1"/> > </route> > > can u help me? > -- > View this message in context: > http://camel.465427.n5.nabble.com/SEDA-with-request-response-tp2844259p2844259.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen Apache Camel Committer Author of Camel in Action: http://www.manning.com/ibsen/ Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus