I logged a ticket
https://issues.apache.org/jira/browse/CAMEL-6656

On Sat, Aug 17, 2013 at 9:04 AM, Claus Ibsen <claus.ib...@gmail.com> wrote:
> Hi
>
> Yeah sounds like a bug, feel free to log a JIRA, and as usual we love
> contributions with patches.
>
>
> On Fri, Aug 16, 2013 at 6:45 PM, Gardella juan
> <gardellajuanpa...@gmail.com> wrote:
>> 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.
>
>
>
> --
> Claus Ibsen
> -----------------
> Red Hat, Inc.
> Email: cib...@redhat.com
> Twitter: davsclaus
> Blog: http://davsclaus.com
> Author of Camel in Action: http://www.manning.com/ibsen



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to