public static interface VmComponentBuilderFactory.VmComponentBuilder extends ComponentBuilder<org.apache.camel.component.vm.VmComponent>
| Modifier and Type | Method and Description |
|---|---|
default VmComponentBuilderFactory.VmComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default VmComponentBuilderFactory.VmComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default VmComponentBuilderFactory.VmComponentBuilder |
concurrentConsumers(int concurrentConsumers)
Sets the default number of concurrent threads processing exchanges.
|
default VmComponentBuilderFactory.VmComponentBuilder |
defaultBlockWhenFull(boolean defaultBlockWhenFull)
Whether a thread that sends messages to a full SEDA queue will block
until the queue's capacity is no longer exhausted.
|
default VmComponentBuilderFactory.VmComponentBuilder |
defaultDiscardWhenFull(boolean defaultDiscardWhenFull)
Whether a thread that sends messages to a full SEDA queue will be
discarded.
|
default VmComponentBuilderFactory.VmComponentBuilder |
defaultOfferTimeout(long defaultOfferTimeout)
Whether a thread that sends messages to a full SEDA queue will block
until the queue's capacity is no longer exhausted.
|
default VmComponentBuilderFactory.VmComponentBuilder |
defaultQueueFactory(org.apache.camel.component.seda.BlockingQueueFactory<org.apache.camel.Exchange> defaultQueueFactory)
Sets the default queue factory.
|
default VmComponentBuilderFactory.VmComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default VmComponentBuilderFactory.VmComponentBuilder |
queueSize(int queueSize)
Sets the default maximum capacity of the SEDA queue (i.e., the number
of messages it can hold).
|
build, build, doSetProperty, registerdefault VmComponentBuilderFactory.VmComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault VmComponentBuilderFactory.VmComponentBuilder concurrentConsumers(int concurrentConsumers)
int type.
Default: 1
Group: consumerdefault VmComponentBuilderFactory.VmComponentBuilder defaultBlockWhenFull(boolean defaultBlockWhenFull)
boolean type.
Default: false
Group: producerdefault VmComponentBuilderFactory.VmComponentBuilder defaultDiscardWhenFull(boolean defaultDiscardWhenFull)
boolean type.
Default: false
Group: producerdefault VmComponentBuilderFactory.VmComponentBuilder defaultOfferTimeout(long defaultOfferTimeout)
long type.
Group: producerdefault VmComponentBuilderFactory.VmComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault VmComponentBuilderFactory.VmComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault VmComponentBuilderFactory.VmComponentBuilder defaultQueueFactory(org.apache.camel.component.seda.BlockingQueueFactory<org.apache.camel.Exchange> defaultQueueFactory)
org.apache.camel.component.seda.BlockingQueueFactory type.
Group: advanceddefault VmComponentBuilderFactory.VmComponentBuilder queueSize(int queueSize)
int type.
Default: 1000
Group: advancedApache Camel