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).