public static interface VmComponentBuilderFactory.VmComponentBuilder extends ComponentBuilder<org.apache.camel.component.vm.VmComponent>
| Modifier and Type | Method and Description |
|---|---|
default VmComponentBuilderFactory.VmComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
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)
bridgeErrorHandler - the value to setdefault VmComponentBuilderFactory.VmComponentBuilder concurrentConsumers(int concurrentConsumers)
concurrentConsumers - the value to setdefault VmComponentBuilderFactory.VmComponentBuilder defaultBlockWhenFull(boolean defaultBlockWhenFull)
defaultBlockWhenFull - the value to setdefault VmComponentBuilderFactory.VmComponentBuilder defaultDiscardWhenFull(boolean defaultDiscardWhenFull)
defaultDiscardWhenFull - the value to setdefault VmComponentBuilderFactory.VmComponentBuilder defaultOfferTimeout(long defaultOfferTimeout)
defaultOfferTimeout - the value to setdefault VmComponentBuilderFactory.VmComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault VmComponentBuilderFactory.VmComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault VmComponentBuilderFactory.VmComponentBuilder defaultQueueFactory(org.apache.camel.component.seda.BlockingQueueFactory<org.apache.camel.Exchange> defaultQueueFactory)
defaultQueueFactory - the value to setdefault VmComponentBuilderFactory.VmComponentBuilder queueSize(int queueSize)
queueSize - the value to setApache Camel