@Configuration @EnableConfigurationProperties(value=MyBatisComponentConfiguration.class) public class MyBatisComponentAutoConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MyBatisComponentAutoConfiguration.Condition |
Constructor and Description |
---|
MyBatisComponentAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.component.mybatis.MyBatisComponent |
configureMyBatisComponent(org.apache.camel.CamelContext camelContext,
MyBatisComponentConfiguration configuration) |
@Lazy @Bean(name="mybatis-component") @ConditionalOnClass(value=org.apache.camel.CamelContext.class) @ConditionalOnMissingBean(value=org.apache.camel.component.mybatis.MyBatisComponent.class) public org.apache.camel.component.mybatis.MyBatisComponent configureMyBatisComponent(org.apache.camel.CamelContext camelContext, MyBatisComponentConfiguration configuration) throws Exception
Exception
Apache Camel