public interface CamelBridge
| Modifier and Type | Method and Description |
|---|---|
static CamelBridge |
create(Vertx vertx,
CamelBridgeOptions bridgeOptions)
Creates a bridge between Camel endpoints and Vert.x
|
CamelBridge |
start()
Starts the bridge.
|
CamelBridge |
start(Handler<AsyncResult<Void>> completed)
Starts the bridge.
|
CamelBridge |
stop()
Stops the bridge.
|
CamelBridge |
stop(Handler<AsyncResult<Void>> completed)
Stops the bridge.
|
static CamelBridge create(Vertx vertx, CamelBridgeOptions bridgeOptions)
vertx - the vert.x instancebridgeOptions - the bridge configurationCamelBridge. It must be started explicitly.CamelBridge start()
CamelBridgeCamelBridge start(Handler<AsyncResult<Void>> completed)
completed - handler called when the bridge has been started.CamelBridgeCamelBridge stop()
CamelBridgeCamelBridge stop(Handler<AsyncResult<Void>> completed)
completed - handler called when the bridge has been stopped.CamelBridgeCopyright © 2021 Eclipse. All rights reserved.