Re: async route

2012-01-23 Thread boday
ute is s1, s2, s3, s4, then: > consumer.getProcessor().process(exchange) will return with the result of > s2 while s3 and s4 run (in pipeline) asynchronously. > > Thank you for your help > > Ittay > - Ben O'Day IT Consultant -http://consulting-notes.com -- View this message in co

async route

2012-01-23 Thread Ittay Dror
Hi, I have the need to create a route so that the processor that the consumer holds runs 2 steps and then returns while the rest of the route continues. So, if the route is s1, s2, s3, s4, then: consumer.getProcessor().process(exchange) will return with the result of s2 while s3 and s4 run

Re: Mina async route not working

2010-04-09 Thread anandsk
r without waiting for a response. responses need to be processed >>>>> asynchronously.So, I can't set sync flag to true, is there any other >>>>> solution to my problem. >>>>> >>>>> Thanks, >>>>> Anand >>&

Re: Mina async route not working

2010-04-09 Thread anandsk
t;> other without waiting for a response. responses need to be processed >>>>> asynchronously.So, I can't set sync flag to true, is there any other >>>>> solution to my problem. >>>>> >>>>> Thanks, &

async route issue with Mina endpoint

2010-03-11 Thread anandsk
https://issues.apache.org/activemq/browse/CAMEL-2540 -- View this message in context: http://old.nabble.com/async-route-issue-with-Mina-endpoint-tp27865171p27865171.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Mina async route not working

2010-03-04 Thread Ashwin Karpe
t;>>> public void process(Exchange exchange) throws Exception { >>>>> String body = exchange.getIn().getBody(String.class); >>>>> Thread.sleep(3); >>>>>

Re: Mina async route not working

2010-03-03 Thread anandsk
String body = exchange.getIn().getBody(String.class); >>>>Thread.sleep(3); >>>>exchange.getOut().setBody("Bye 1" + body); >>>>} >>>> }); >>>> >>

Re: Mina async route not working

2010-03-03 Thread anandsk
:6202?sync=true&textline=true",10) >>> .to("log:+++ reply"); >>> To make sure the mina client can get the right response. >>> >>> Willem >>> >>> anandsk wrote: >>>> Thanks. yes, I have seen the

Re: Mina async route not working

2010-03-03 Thread Ashwin Karpe
client can get the right response. >> >> Willem >> >> anandsk wrote: >>> Thanks. yes, I have seen the examples and I modified my code. but it >>> still >>> doesn't deliver reply asyncronously. >>> I am thinking may be camel Mina'

Re: Mina async route not working

2010-03-02 Thread Claus Ibsen
gt; forwarding them to async endpoint. am I doing this wrong. >>>>>>> >>>>>>> Thanks, >>>>>>> Anand >>>>>>> >>>>>>> >>>>>>>  from("mina:tcp://localhost:6202?textline=true&sync=true")

Re: Mina async route not working

2010-03-02 Thread Willem Jiang
quot;); To make sure the mina client can get the right response. Willem anandsk wrote: Thanks. yes, I have seen the examples and I modified my code. but it still doesn't deliver reply asyncronously. I am thinking may be camel Mina's sync option may be conflicting with async route.

Re: Mina async route not working

2010-03-02 Thread Claus Ibsen
nc("mina:tcp://localhost:6202?sync=true&textline=true",10) >>               .to("log:+++ reply"); >> To make sure the mina client can get the right response. >> >> Willem >> >> anandsk wrote: >>> Thanks. yes, I have seen the examples

Re: Mina async route not working

2010-03-02 Thread anandsk
my code. but it >> still >> doesn't deliver reply asyncronously. >> I am thinking may be camel Mina's sync option may be conflicting with >> async >> route. Please see my code below. >> >> >> from("mina:tcp://localhost:6202?

Re: Mina async route not working

2010-03-02 Thread Willem Jiang
't deliver reply asyncronously. I am thinking may be camel Mina's sync option may be conflicting with async route. Please see my code below. from("mina:tcp://localhost:6202?textline=true&sync=true").process(new Processor() { public void

Re: Mina async route not working

2010-03-02 Thread anandsk
Thanks. yes, I have seen the examples and I modified my code. but it still doesn't deliver reply asyncronously. I am thinking may be camel Mina's sync option may be conflicting with async route. Please see my code below. from("mina:tcp://localhost:6202?textline

Re: Mina async route not working

2010-03-02 Thread Claus Ibsen
.setHeader(MinaEndpoint.HEADER_MINA_IOSESSION, expression) >                .to("mina:tcp://localhost:6202?textline=true&sync=true") >                .toAsync("direct:response",1) >                .to("log:direct"); > >                        from("

Mina async route not working

2010-03-02 Thread anandsk
from("direct:response") .to("log:jms.queue.message"); -- View this message in context: http://old.nabble.com/Mina-async-route-not-working-tp27757690p27757690.html Sent from the Camel - Users mailing list archive at Nabble.com.