Hi I assume you want to just send the message to the JMS queue using InOnly (eg not do request/reply over JMS also). And for that you need to look at the event message eip http://camel.apache.org/event-message.html
So you can do: .to(ExchangePattern.InOnly, "activemq:personnel.records") On Mon, Dec 10, 2012 at 9:47 AM, kiranreddykasa <kirankuma...@fss.co.in> wrote: > Hi > > i m trying to implement request/response with jms but couln't succeed > > Here is my route > > > from("netty:tcp://10.44.71.133:8003?textline=true&sync=false") > > .to("activemq:personnel.records") > .process(new Processor() { > > @Override > public void > process(Exchange exchange) throws Exception { > > System.out.println("called"); > > System.out.println("Received Message :: " + exchange); > } > }) > > //.to("netty:tcp://10.44.71.133:8002?textline=true&sync=true") > .to("stream:out"); > > This route is working fine ..but if i change the 'sync' option to true in > netty endpoint i m not even able to receive request in the > processor....after 20 secs it's throwing timeout exception. > > > > > ----- > Regards > > kiran Reddy > -- > View this message in context: > http://camel.465427.n5.nabble.com/Activemq-Request-reply-tp5723817.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