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.

Reply via email to