public class CamelBridgeOptions extends Object
Constructor and Description |
---|
CamelBridgeOptions(org.apache.camel.CamelContext context)
Creates a new instance of
CamelBridgeOptions . |
CamelBridgeOptions(JsonObject json)
Comply with the
DataObject contract, however calling this constructor will always throw. |
Modifier and Type | Method and Description |
---|---|
CamelBridgeOptions |
addInboundMapping(InboundMapping mapping)
Adds an inbound mapping (Camel to Vert.x).
|
CamelBridgeOptions |
addOutboundMapping(OutboundMapping mapping)
Adds an outbound mapping (Vert.x to Camel).
|
org.apache.camel.CamelContext |
getCamelContext() |
List<InboundMapping> |
getInboundMappings() |
List<OutboundMapping> |
getOutboundMappings() |
public CamelBridgeOptions(org.apache.camel.CamelContext context)
CamelBridgeOptions
.context
- the camel context used by the bridge. Must not be null
, may not be started
,
however it should be started when the bridge is started.public CamelBridgeOptions(JsonObject json)
DataObject
contract, however calling this constructor will always throw.json
- a json objectIllegalArgumentException
- always.public CamelBridgeOptions addInboundMapping(InboundMapping mapping)
mapping
- the mapping, must not be null
CamelBridgeOptions
public CamelBridgeOptions addOutboundMapping(OutboundMapping mapping)
mapping
- the mapping, must not be null
CamelBridgeOptions
public org.apache.camel.CamelContext getCamelContext()
public List<InboundMapping> getInboundMappings()
public List<OutboundMapping> getOutboundMappings()
Copyright © 2024 Eclipse. All rights reserved.