vertx / io.vertx.camel / CamelMapping

CamelMapping

open class CamelMapping

Parent class for mapping between Vert.x event bus and Camel endpoints.

Author
Clement Escoffier

Constructors

<init>

CamelMapping()

Parent class for mapping between Vert.x event bus and Camel endpoints.

Properties

DEFAULT_HEADERS_COPY

static val DEFAULT_HEADERS_COPY: Boolean

Functions

getAddress

open fun getAddress(): String

getUri

open fun getUri(): String

isHeadersCopy

open fun isHeadersCopy(): Boolean

setAddress

open fun setAddress(address: String): CamelMapping

Sets the event bus address.

setEndpoint

open fun setEndpoint(endpoint: Endpoint): CamelMapping

Sets the Camel endpoint. If used, #setUri(String) does not need to be called.

setHeadersCopy

open fun setHeadersCopy(headersCopy: Boolean): CamelMapping

Sets whether or not the headers of the input message are copied in the output message.

setUri

open fun setUri(uri: String): CamelMapping

Sets the Camel endpoint URI.

Inheritors

InboundMapping

open class InboundMapping : CamelMapping

Represents a mapping between a Camel endpoint address and a Vert.x address on the event bus.

OutboundMapping

open class OutboundMapping : CamelMapping

Represents a mapping between a Vert.x event bus address and a Camel endpoint.