On Sat, Sep 22, 2012 at 1:10 AM, alireza <[email protected]> wrote:
>
> Hi,
>
> I have a question in using Netty component, let me explain the scenario:
>
> 1- We have a tcp server(consumer endpoint, using netty listening on port
> 1234)
> 2- A tcp client connects to the server (port 1234)
> 3- Once tcp client is connected, server should be able to send messages to
> the client through the connected channel(and also receives reply), and the
> same for the client(send/receive).
>
> In fact the purpose is to have a two-way(bi-directional) async messaging
> between two peers.
>

This is not currently supported. There is a number of JIRA tickets
about this, for the camel-mina2 component.
But when done should be able to port that logic to netty as well.



> As far as I see in Camel Netty component, producer will always create a new
> connection, is it possible to re-use
> an already established connection(on a consumer endpoint) to send a message?
>
> Would appreciate your help.
>
> Thanks
> Alireza
>
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Netty-two-way-communication-tp5719736.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to