On Thu, Sep 29, 2011 at 2:42 AM, maccamlc
<matthew.mcma...@ultra-avalon.com> wrote:
> I have an interesting case, where one message type that a Netty Client send
> will expect 2 response (1 immediately, and another asynchronously after some
> processing has been done).
>
> Is this possible to implement in Camel? I need the same SocketChannel to be
> reused as well for receiving both responses.
>

This use-case is not directly supported in camel-netty. You may want
to build some custom code.

You can use the Aggregate EIP to assemble 2 replies into 1.
http://camel.apache.org/aggregator2


> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Netty-1-Request-with-2-Responses-tp4851205p4851205.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: cib...@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to