public class OutboundMapping extends CamelMapping
DEFAULT_HEADERS_COPY| Constructor and Description |
|---|
OutboundMapping() |
| Modifier and Type | Method and Description |
|---|---|
static OutboundMapping |
fromVertx(String address)
Creates an
OutboundMapping from the given Vert.x address. |
OutboundMapping |
setAddress(String address)
Sets the event bus address.
|
OutboundMapping |
setEndpoint(org.apache.camel.Endpoint endpoint)
Sets the Camel endpoint.
|
OutboundMapping |
setHeadersCopy(boolean copyHeaders)
Sets whether or not the headers of the input message are copied in the output message.
|
OutboundMapping |
setUri(String uri)
Sets the Camel endpoint URI.
|
OutboundMapping |
toCamel(org.apache.camel.Endpoint endpoint)
Fluent version of
setEndpoint(Endpoint). |
OutboundMapping |
toCamel(String uri)
Fluent version of
setUri(String). |
OutboundMapping |
withoutHeadersCopy()
Fluent version of
setHeadersCopy(boolean) to disable the headers copy. |
getAddress, getUri, isHeadersCopypublic static OutboundMapping fromVertx(String address)
OutboundMapping from the given Vert.x address.address - the address - must not be nullOutboundMappingpublic OutboundMapping setAddress(String address)
CamelMappingsetAddress in class CamelMappingaddress - the addressCamelMappingpublic OutboundMapping setHeadersCopy(boolean copyHeaders)
CamelMappingsetHeadersCopy in class CamelMappingcopyHeaders - true to copy the headersCamelMappingpublic OutboundMapping setUri(String uri)
CamelMappingsetUri in class CamelMappinguri - the uriCamelMappingpublic OutboundMapping setEndpoint(org.apache.camel.Endpoint endpoint)
CamelMappingCamelMapping.setUri(String) does not need to be called.setEndpoint in class CamelMappingendpoint - the endpointCamelMappingpublic OutboundMapping toCamel(String uri)
setUri(String).uri - the uriOutboundMappingpublic OutboundMapping toCamel(org.apache.camel.Endpoint endpoint)
setEndpoint(Endpoint).endpoint - the endpointOutboundMappingpublic OutboundMapping withoutHeadersCopy()
setHeadersCopy(boolean) to disable the headers copy.OutboundMappingCopyright © 2016. All rights reserved.