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)
java.lang.String type.
Default: SqlMapConfig.xml
Group: commondefault MybatisComponentBuilderFactory.MybatisComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault MybatisComponentBuilderFactory.MybatisComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault MybatisComponentBuilderFactory.MybatisComponentBuilder autowiredEnabled(boolean autowiredEnabled)
boolean type.
Default: true
Group: advanceddefault MybatisComponentBuilderFactory.MybatisComponentBuilder sqlSessionFactory(org.apache.ibatis.session.SqlSessionFactory sqlSessionFactory)
org.apache.ibatis.session.SqlSessionFactory type.
Group: advancedApache Camel