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, isHeadersCopy
public static OutboundMapping fromVertx(String address)
OutboundMapping
from the given Vert.x address.address
- the address - must not be null
OutboundMapping
public OutboundMapping setAddress(String address)
CamelMapping
setAddress
in class CamelMapping
address
- the addressCamelMapping
public OutboundMapping setHeadersCopy(boolean copyHeaders)
CamelMapping
setHeadersCopy
in class CamelMapping
copyHeaders
- true
to copy the headersCamelMapping
public OutboundMapping setUri(String uri)
CamelMapping
setUri
in class CamelMapping
uri
- the uriCamelMapping
public OutboundMapping setEndpoint(org.apache.camel.Endpoint endpoint)
CamelMapping
CamelMapping.setUri(String)
does not need to be called.setEndpoint
in class CamelMapping
endpoint
- the endpointCamelMapping
public OutboundMapping toCamel(String uri)
setUri(String)
.uri
- the uriOutboundMapping
public OutboundMapping toCamel(org.apache.camel.Endpoint endpoint)
setEndpoint(Endpoint)
.endpoint
- the endpointOutboundMapping
public OutboundMapping withoutHeadersCopy()
setHeadersCopy(boolean)
to disable the headers copy.OutboundMapping
Copyright © 2016. All rights reserved.