You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by fbarbat <fb...@gmail.com> on 2013/09/17 20:36:46 UTC

Camel and Sockets

Is it possible to treat a single socket like two different routes (inbound
and outbound)? I want to handle the messages independently, asynchronously
and with correlation ids. Thanks.





--
View this message in context: http://camel.465427.n5.nabble.com/Camel-and-Sockets-tp5739687.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel and Sockets

Posted by Willem jiang <wi...@gmail.com>.
Current camel component doesn't provide this kind of feature.
I think you can do it by handling the socket receiving and sending logical in your code and delegate the request and response to the camel route.


--  
Willem Jiang

Red Hat, Inc.
Web: 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 Wednesday, September 18, 2013 at 2:36 AM, fbarbat wrote:

> Is it possible to treat a single socket like two different routes (inbound
> and outbound)? I want to handle the messages independently, asynchronously
> and with correlation ids. Thanks.
>  
>  
>  
>  
>  
> --
> View this message in context: http://camel.465427.n5.nabble.com/Camel-and-Sockets-tp5739687.html
> Sent from the Camel - Users mailing list archive at Nabble.com (http://Nabble.com).