237.2. Spring Boot Auto-Configuration
组件支持 4 个选项,如下所列。
Name | 描述 | 默认值 | 类型 |
---|---|---|---|
camel.component.mybatis-bean.configuration-uri | MyBatis xml 配置文件的位置。默认值为:从 classpath 加载的 SqlMapConfig.xml | SqlMapConfig.xml | 字符串 |
camel.component.mybatis-bean.enabled | 是否启用 mybatis-bean 组件的自动配置。这默认是启用的。 | 布尔值 | |
camel.component.mybatis-bean.resolve-property-placeholders | 组件是否应在启动时解析属性占位符。只有 String 类型的属性可以使用属性占位符。 | true | 布尔值 |
camel.component.mybatis-bean.sql-session-factory | 使用 SqlSessionFactory。选项是 org.apache.ibatis.session.SqlSessionFactory 类型。 | 字符串 |