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)
mongoConnection - the value to setdefault MongodbComponentBuilderFactory.MongodbComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault MongodbComponentBuilderFactory.MongodbComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault MongodbComponentBuilderFactory.MongodbComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setApache Camel