172.3. Spring Boot Auto-Configuration

组件支持 3 个选项,它们如下所列。

名称描述默认类型

camel.component.jdbc.data-source

使用 DataSource 实例,而不根据 registry 中名称查找数据源。选项是一个 javax.sql.DataSource 类型。

 

字符串

camel.component.jdbc.enabled

启用 jdbc 组件

true

布尔值

camel.component.jdbc.resolve-property-placeholders

启动时,组件是否应自行解析属性占位符。只有 String 类型的属性才能使用属性占位符。

true

布尔值