Spring Batch Component
The spring-batch: component and support classes provide integration bridge between Camel and Spring Batch infrastructure.
Maven users will need to add the following dependency to their pom.xml
for this component:
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-spring-batch</artifactId> <version>x.x.x</version> <!-- use the same version as your Camel core version --> </dependency>
URI format
spring-batch:jobName[?options]
Where jobName represents the name of the Spring Batch job located in the Camel registry. The job will be executed using the org.springframework.batch.core.launch.JobLaucher
instance resolved using the following algorithm:
- TODO
This component can only be used to define producer endpoints, which means that you cannot use the Spring Batch component in a from()
statement.