public static interface MongodbComponentBuilderFactory.MongodbComponentBuilder extends ComponentBuilder<org.apache.camel.component.mongodb.MongoDbComponent>
| Modifier and Type | Method and Description |
|---|---|
default MongodbComponentBuilderFactory.MongodbComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default MongodbComponentBuilderFactory.MongodbComponentBuilder |
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 MongodbComponentBuilderFactory.MongodbComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default MongodbComponentBuilderFactory.MongodbComponentBuilder |
mongoConnection(com.mongodb.client.MongoClient mongoConnection)
Shared client used for connection.
|
build, build, doSetProperty, registerdefault MongodbComponentBuilderFactory.MongodbComponentBuilder mongoConnection(com.mongodb.client.MongoClient mongoConnection)
com.mongodb.client.MongoClient type.
Group: commondefault MongodbComponentBuilderFactory.MongodbComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault MongodbComponentBuilderFactory.MongodbComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault MongodbComponentBuilderFactory.MongodbComponentBuilder autowiredEnabled(boolean autowiredEnabled)
boolean type.
Default: true
Group: advancedApache Camel