You should split that up into two routes like so:

from("vertx:bus1").to("netty:tcp://host:80");
from("netty:tcp://host:80").to("vertx:bus2");

Mind you that you'd need each route to run on its respective machine as
separate programs.


On 4 September 2014 08:44, Edmondo Porcu <edmondo.po...@gmail.com> wrote:

> Dear all,
>
> I am trying to write a route builder so that data published on a vertx
> event bus with a given name would then be sent to a tcp socket, while data
> received from that tcp socket would go to another event bus.
>
> The following route doesn't work because data is sent but never received:
>
> from ("vertx:eventBus1").to
> ("netty:tcp//myServer:80").to("vertx:eventBus2")
>
> Can you please help me?
>
> Best
>
> Edmondo
>



-- 
Matt Sicker <boa...@gmail.com>

Reply via email to