camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Muhammad Ichsan <ich...@gmail.com>
Subject Re: Mina endpoint behaviour
Date Thu, 01 Apr 2010 12:57:48 GMT
On Thu, Apr 1, 2010 at 7:13 PM, Ashwin Karpe <askarpe@progress.com> wrote:
>
> Hi,
>
> You cannot do it the way you have detailed. The endpoint in the from()
> clause will create a TCP Listener and bind to a socket (aka server).
>
> You could do the following and accomplish your objective
>
> In Client
> ----------
>    from (...)
>       .to(mina:tcp://localhost:5000?sync=true")                // Client
>       .to("bean:processResponse");
>
> In Server
> ----------
>    from(mina:tcp://localhost:5000?sync=true")              // Server
>       .to("bean:processData");

I think the routes above will connect each other, won't they? The
first to(mina) will connect to from(mina)


-- 
~The best men are men who benefit to others
http://michsan.web.id

Mime
View raw message