Package io.vertx.camel
Interface CamelBridge
-
public interface CamelBridge
Camel Bridge facade.- Author:
- Clement Escoffier
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static CamelBridge
create(Vertx vertx, CamelBridgeOptions bridgeOptions)
Creates a bridge between Camel endpoints and Vert.xFuture<Void>
start()
Starts the bridge.Future<Void>
stop()
Stops the bridge.
-
-
-
Method Detail
-
create
static CamelBridge create(Vertx vertx, CamelBridgeOptions bridgeOptions)
Creates a bridge between Camel endpoints and Vert.x- Parameters:
vertx
- the vert.x instancebridgeOptions
- the bridge configuration- Returns:
- the created
CamelBridge
. It must be started explicitly.
-
start
Future<Void> start()
Starts the bridge. The bridge is started asynchronously.- Returns:
- a future notified when the bridge has started
-
-