THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The vertx EventBus sends and receives JSON events.
Info |
---|
From Camel 2.16 onwards vertx 3 is in use which requires Java 1.8 at runtime. |
Maven users will need to add the following dependency to their pom.xml
for this component:
Code Block | ||||
---|---|---|---|---|
| ||||
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-vertx</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency> |
URI format
Code Block |
---|
vertx:channelName[?options] |
...
You can append query options to the URI in the following format, ?option=value&option=value&...
...
Connecting to the existing Vert.x instance
If you would like to connect to the Vert.x instance already existing in your JVM, you can set the instance on the component level:
Code Block | ||
---|---|---|
| ||
Vertx vertx = ...;
VertxComponent vertxComponent = new VertxComponent();
vertxComponent.setVertx(vertx);
camelContext.addComponent("vertx", vertxComponent); |
Include Page | ||||
---|---|---|---|---|
|