vertx / io.vertx.camel / OutboundMapping

OutboundMapping

open class OutboundMapping : CamelMapping

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

Author
Clement Escoffier

Constructors

<init>

OutboundMapping()

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

Inherited Properties

DEFAULT_HEADERS_COPY

static val DEFAULT_HEADERS_COPY: Boolean

Functions

fromVertx

open static fun fromVertx(address: String): OutboundMapping

Creates an OutboundMapping from the given Vert.x address.

getWorkerExecutor

open fun getWorkerExecutor(): WorkerExecutor

isBlocking

open fun isBlocking(): Boolean

Whether the processing is blocking and so should not be executed on the event loop.

setAddress

open fun setAddress(address: String): OutboundMapping

setBlocking

open fun setBlocking(blocking: Boolean): OutboundMapping

Sets whether or not the processing is blocking. false by default.

setEndpoint

open fun setEndpoint(endpoint: Endpoint): OutboundMapping

setHeadersCopy

open fun setHeadersCopy(copyHeaders: Boolean): OutboundMapping

setUri

open fun setUri(uri: String): OutboundMapping

setWorkerExecutor

open fun setWorkerExecutor(pool: WorkerExecutor): OutboundMapping

Sets the worker thread worker used to execute the blocking processing. This option is only used if blocking is set to true. If not set, it uses the the default worker worker.

toCamel

open fun toCamel(uri: String): OutboundMapping

Fluent version of #setUri(String).

open fun toCamel(endpoint: Endpoint): OutboundMapping

Fluent version of #setEndpoint(Endpoint).

withoutHeadersCopy

open fun withoutHeadersCopy(): OutboundMapping

Fluent version of #setHeadersCopy(boolean) to disable the headers copy.

Inherited Functions

getAddress

open fun getAddress(): String

getUri

open fun getUri(): String

isHeadersCopy

open fun isHeadersCopy(): Boolean