You can change the below DSL  
//JMS Endpoint
.to("activemq:queue:outputqueue");


to

.inOnly("activemq:queue:outputqueue");  

--  
Willem Jiang

Red Hat, Inc.
FuseSource is now part of Red Hat
Web: http://www.fusesource.com | http://www.redhat.com
Blog: http://willemjiang.blogspot.com (http://willemjiang.blogspot.com/) 
(English)
          http://jnn.iteye.com (http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem





On Thursday, February 21, 2013 at 1:04 PM, Gnanaguru S wrote:

>  
> Thank you so much William. I hope this should work in case of camel-activemq
> component also.  
>  
> By the way, how can I specify InOnly pattern in Java DSl ?  
>  
> Regards
> Guru
> @gnanagurus
> gnanaguru.com (http://gnanaguru.com)
>  
>  
>  
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/One-way-request-Camel-CXF-tp5727920p5727924.html
> Sent from the Camel - Users mailing list archive at Nabble.com 
> (http://Nabble.com).



Reply via email to