Hi all, I've used camel-spring-batch from a while. I recently upgrade from 2.11.0 to 2.11.1 and the route that use camel-spring-batch have failed. I detect that the problem is in 2.11.1 after the execution of the job the headers are cleaned. So I changed my route to log the headers before and after execute the job:
Route: [...] .log("Before: ${headers}") .to("spring-batch:myJob") .log("After: ${headers}") [...] And here is the log for the different versions: 2.11.0 ========================== INFO BatchProcessRouteBuilder.batch Before: {CamelFileLength=1833, [...]} INFO o.s.b.c.l.support.SimpleJobLauncher Job: [FlowJob: [name=myJob]] launched with the following parameters: [{CamelFileLength=1833, [...]}] [...] INFO o.s.b.c.l.support.SimpleJobLauncher Job: [FlowJob: [name=myJob]] completed with the following parameters: [{CamelFileLength=1833, [...]}] and the following status: [COMPLETED] INFO BatchProcessRouteBuilder.batch After: {CamelFileLength=1833, [...]} 2.11.1 ======================= INFO BatchProcessRouteBuilder.batch Before: {CamelFileLength=1833, [...]} INFO o.s.b.c.l.support.SimpleJobLauncher Job: [FlowJob: [name=myJob]] launched with the following parameters: [{CamelFileLength=1833,[...]}] [...] INFO o.s.b.c.l.support.SimpleJobLauncher Job: [FlowJob: [name=myJob]] completed with the following parameters: [{CamelFileLength=1833,[...]}] and the following status: [COMPLETED] *INFO BatchProcessRouteBuilder.batch After: {}* I marked in bold the problem. The headers are empty. Do I have to raise a JIRA ticket with this problem? Thanks, Juan -- View this message in context: http://camel.465427.n5.nabble.com/camel-spring-batch-2-11-1-breaks-previous-working-routes-tp5737426.html Sent from the Camel - Users mailing list archive at Nabble.com.