public static interface StubComponentBuilderFactory.StubComponentBuilder extends ComponentBuilder<org.apache.camel.component.stub.StubComponent>
| Modifier and Type | Method and Description |
|---|---|
default StubComponentBuilderFactory.StubComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default StubComponentBuilderFactory.StubComponentBuilder |
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 StubComponentBuilderFactory.StubComponentBuilder |
concurrentConsumers(int concurrentConsumers)
Sets the default number of concurrent threads processing exchanges.
|
default StubComponentBuilderFactory.StubComponentBuilder |
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 StubComponentBuilderFactory.StubComponentBuilder |
defaultDiscardWhenFull(boolean defaultDiscardWhenFull)
Whether a thread that sends messages to a full SEDA queue will be
discarded.
|
default StubComponentBuilderFactory.StubComponentBuilder |
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 StubComponentBuilderFactory.StubComponentBuilder |
defaultQueueFactory(org.apache.camel.component.seda.BlockingQueueFactory<org.apache.camel.Exchange> defaultQueueFactory)
Sets the default queue factory.
|
default StubComponentBuilderFactory.StubComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default StubComponentBuilderFactory.StubComponentBuilder |
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 StubComponentBuilderFactory.StubComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault StubComponentBuilderFactory.StubComponentBuilder concurrentConsumers(int concurrentConsumers)
concurrentConsumers - the value to setdefault StubComponentBuilderFactory.StubComponentBuilder defaultBlockWhenFull(boolean defaultBlockWhenFull)
defaultBlockWhenFull - the value to setdefault StubComponentBuilderFactory.StubComponentBuilder defaultDiscardWhenFull(boolean defaultDiscardWhenFull)
defaultDiscardWhenFull - the value to setdefault StubComponentBuilderFactory.StubComponentBuilder defaultOfferTimeout(long defaultOfferTimeout)
defaultOfferTimeout - the value to setdefault StubComponentBuilderFactory.StubComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault StubComponentBuilderFactory.StubComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault StubComponentBuilderFactory.StubComponentBuilder defaultQueueFactory(org.apache.camel.component.seda.BlockingQueueFactory<org.apache.camel.Exchange> defaultQueueFactory)
defaultQueueFactory - the value to setdefault StubComponentBuilderFactory.StubComponentBuilder queueSize(int queueSize)
queueSize - the value to setApache Camel