Spring – Apache Camel integration with Spring Batch

apache-camelspringspring-batch

Does Apache Camel supports Spring Batch?
I am my batch using Camel routes. Now we want to migrate to Spring Batch but not sure if my camel routes can integrate with Spring batch.

Best Answer

Updated answer: Spring batch is supported as of Camel 2.10,

http://camel.apache.org/springbatch.html

Essentially the Spring Batch component in Camel will be able to trigger Spring batch jobs form a route.

Example: from("direct:startBatch").to("spring-batch:myJob"); where "myJob" is spring batch job defined elsewhere.

All Camel headers in the exchange are sent as parameter to the spring batch job.

Related Topic