On Thu, Apr 1, 2010 at 7:13 PM, Ashwin Karpe <aska...@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

Reply via email to