Class CamelBridgeOptions
java.lang.Object
io.vertx.camel.CamelBridgeOptions
Camel bridge configuration.
- Author:
- Clement Escoffier
-
Constructor Summary
ConstructorsConstructorDescriptionCamelBridgeOptions(JsonObject json) Comply with theDataObjectcontract, however calling this constructor will always throw.CamelBridgeOptions(org.apache.camel.CamelContext context) Creates a new instance ofCamelBridgeOptions. -
Method Summary
Modifier and TypeMethodDescriptionaddInboundMapping(InboundMapping mapping) Adds an inbound mapping (Camel to Vert.x).addOutboundMapping(OutboundMapping mapping) Adds an outbound mapping (Vert.x to Camel).org.apache.camel.CamelContext
-
Constructor Details
-
CamelBridgeOptions
public CamelBridgeOptions(org.apache.camel.CamelContext context) Creates a new instance ofCamelBridgeOptions.- Parameters:
context- the camel context used by the bridge. Must not benull, may not bestarted, however it should be started when the bridge is started.
-
CamelBridgeOptions
Comply with theDataObjectcontract, however calling this constructor will always throw.- Parameters:
json- a json object- Throws:
IllegalArgumentException- always.
-
-
Method Details
-
addInboundMapping
Adds an inbound mapping (Camel to Vert.x).- Parameters:
mapping- the mapping, must not benull- Returns:
- the current
CamelBridgeOptions
-
addOutboundMapping
Adds an outbound mapping (Vert.x to Camel).- Parameters:
mapping- the mapping, must not benull- Returns:
- the current
CamelBridgeOptions
-
getCamelContext
public org.apache.camel.CamelContext getCamelContext() -
getInboundMappings
-
getOutboundMappings
-