camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Karlsen <davidkarl...@gmail.com>
Subject Re: camel-spring-batch 2.11.1 breaks previous working routes
Date Sun, 18 Aug 2013 15:53:08 GMT
Can you provide a strippped down project or unit test that shows the error?


2013/8/16 Gardella juan <gardellajuanpablo@gmail.com>

> 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.
>



-- 
--
David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message