Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Camel Vert.x problems

$
0
0
Hi!

Im trying to do some initial testing of the new Vert.x component but having
some issues.

Firstly, in default configuration, the Vert.x component is using port 5701
which is the same as Hazelcast (which is embedded in Vert.x component) and
results in a port conflict on startup in the default setup.
There was no easy way of setting port on Vert.x, besides doing :

VertxComponent vertx = getContext().getComponent("vertx",
VertxComponent.class);
vertx.setPort(6701);

in configureRoutes();

Am i missing something obvious?

Secondly, when trying to exchange JSON data between two nodes/Vert.x
instances in clustermode it seems like the Vert.x component is not
request/reply based(maybe not supported..?) It communicates on the Eventbus
from the sender to the receiver, but the answer from reciever is never read.

Regards,
Jon Arne

Viewing all articles
Browse latest Browse all 5648

Trending Articles