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()
CamelBridge
CamelBridge start(Handler<AsyncResult<Void>> completed)
completed
- handler called when the bridge has been started.CamelBridge
CamelBridge stop()
CamelBridge
CamelBridge stop(Handler<AsyncResult<Void>> completed)
completed
- handler called when the bridge has been stopped.CamelBridge
Copyright © 2024 Eclipse. All rights reserved.