Red Hat Training

A Red Hat training course is available for Red Hat Fuse

Chapter 156. Vertx

Vertx Component

Available as of Camel 2.12
The vertx component is for working with the Vertx EventBus.
The vertx EventBus sends and receives JSON events.
Maven users will need to add the following dependency to their pom.xml for this component:
<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

vertx:channelName[?options]

Options

Name
Default Value
Description
pubSub
false
Camel 2.12.3: Whether to use publish/subscribe instead of point to point when sending to a vertx endpoint.
You can append query options to the URI in the following format, ?option=value&amp;option=value&amp;...