public static interface DirectComponentBuilderFactory.DirectComponentBuilder extends ComponentBuilder<org.apache.camel.component.direct.DirectComponent>
| Modifier and Type | Method and Description |
|---|---|
default DirectComponentBuilderFactory.DirectComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default DirectComponentBuilderFactory.DirectComponentBuilder |
block(boolean block)
If sending a message to a direct endpoint which has no active
consumer, then we can tell the producer to block and wait for the
consumer to become active.
|
default DirectComponentBuilderFactory.DirectComponentBuilder |
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 DirectComponentBuilderFactory.DirectComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default DirectComponentBuilderFactory.DirectComponentBuilder |
timeout(long timeout)
The timeout value to use if block is enabled.
|
build, build, doSetProperty, registerdefault DirectComponentBuilderFactory.DirectComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault DirectComponentBuilderFactory.DirectComponentBuilder block(boolean block)
boolean type.
Default: true
Group: producerdefault DirectComponentBuilderFactory.DirectComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault DirectComponentBuilderFactory.DirectComponentBuilder timeout(long timeout)
long type.
Default: 30000
Group: producerdefault DirectComponentBuilderFactory.DirectComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advancedApache Camel