public static interface MybatisComponentBuilderFactory.MybatisComponentBuilder extends ComponentBuilder<org.apache.camel.component.mybatis.MyBatisComponent>
| Modifier and Type | Method and Description |
|---|---|
default MybatisComponentBuilderFactory.MybatisComponentBuilder |
autowiredEnabled(boolean autowiredEnabled)
Whether autowiring is enabled.
|
default MybatisComponentBuilderFactory.MybatisComponentBuilder |
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 MybatisComponentBuilderFactory.MybatisComponentBuilder |
configurationUri(String configurationUri)
Location of MyBatis xml configuration file.
|
default MybatisComponentBuilderFactory.MybatisComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default MybatisComponentBuilderFactory.MybatisComponentBuilder |
sqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
To use the SqlSessionFactory.
|
build, build, doSetProperty, registerdefault MybatisComponentBuilderFactory.MybatisComponentBuilder configurationUri(String configurationUri)
configurationUri - the value to setdefault MybatisComponentBuilderFactory.MybatisComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault MybatisComponentBuilderFactory.MybatisComponentBuilder lazyStartProducer(boolean lazyStartProducer)
lazyStartProducer - the value to setdefault MybatisComponentBuilderFactory.MybatisComponentBuilder autowiredEnabled(boolean autowiredEnabled)
autowiredEnabled - the value to setdefault MybatisComponentBuilderFactory.MybatisComponentBuilder sqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
sqlSessionFactory - the value to setApache Camel