On Mon, Dec 10, 2012 at 10:53 AM, kiranreddykasa <kirankuma...@fss.co.in> wrote: > Ya i have two different tcp endpoints > > from("netty:tcp://ip:port?textline=true&sync=true").to("jms").process("processor") > > in this route messages are not even received by the processor, > > but if i change the 'sync' option to 'false' in netty i m able to receive > messages in processor >
Yes if sync=true, then the MEP of the Exchange is set to InOut. (eg request/reply) So when you send to JMS, then the MEP is InOut, and the JMS will expect a reply. So it waits for that. And time out after 20 sec if no reply message. If there is a reply message, then Camel continues routing, and goes to the processor. > > > > ----- > Regards > > kiran Reddy > -- > View this message in context: > http://camel.465427.n5.nabble.com/Activemq-Request-reply-tp5723817p5723823.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: cib...@redhat.com Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen