public static interface StubComponentBuilderFactory.StubComponentBuilder extends ComponentBuilder<org.apache.camel.component.stub.StubComponent>
| Modifier and Type | Method and Description |
|---|---|
default StubComponentBuilderFactory.StubComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
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)
boolean type.
Default: false
Group: consumerdefault StubComponentBuilderFactory.StubComponentBuilder concurrentConsumers(int concurrentConsumers)
int type.
Default: 1
Group: consumerdefault StubComponentBuilderFactory.StubComponentBuilder defaultBlockWhenFull(boolean defaultBlockWhenFull)
boolean type.
Default: false
Group: producerdefault StubComponentBuilderFactory.StubComponentBuilder defaultDiscardWhenFull(boolean defaultDiscardWhenFull)
boolean type.
Default: false
Group: producerdefault StubComponentBuilderFactory.StubComponentBuilder defaultOfferTimeout(long defaultOfferTimeout)
long type.
Group: producerdefault StubComponentBuilderFactory.StubComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault StubComponentBuilderFactory.StubComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault StubComponentBuilderFactory.StubComponentBuilder defaultQueueFactory(org.apache.camel.component.seda.BlockingQueueFactory<org.apache.camel.Exchange> defaultQueueFactory)
org.apache.camel.component.seda.BlockingQueueFactory type.
Group: advanceddefault StubComponentBuilderFactory.StubComponentBuilder queueSize(int queueSize)
int type.
Default: 1000
Group: advancedApache Camel