318.3. Spring Boot Auto-Configuration

组件支持 4 个选项,如下所示。

名称描述默认类型

camel.component.spring-batch.enabled

启用 spring-batch 组件

true

布尔值

camel.component.spring-batch.job-launcher

明确指定要使用的 JobLauncher。选项是一个 org.springframework.batch.core.launch.JobLauncher 类型。

 

字符串

camel.component.spring-batch.job-registry

明确指定要使用的 JobRegistry。选项是一个 org.springframework.batch.core.configuration.JobRegistry 类型。

 

字符串

camel.component.spring-batch.resolve-property-placeholders

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

true

布尔值