camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: doneFileName=${file:name} in Camel 2.12.1 doesn't get replaced correctly with camel-spring-batch
Date Sat, 19 Oct 2013 12:13:54 GMT
It helps if you can can create a small sample project or unit test
that demonstrates any problem.

Also try without spring batch to see if you can isolate any issue.

And provides details about which platform, jdk, and Camel versions you
are using etc.

On Wed, Oct 16, 2013 at 2:25 AM, nguyen <> wrote:
> Hi Claus,
> After upgrading to Camel 2.12.1, my integration test of the job fails with
> the same route which was working in Camel 2.10.3.
> The file doesn't get move to the appropriate directory after the batch job
> is done.
> In Camel 2.12.1, it  seems to consider the property in the "move" as the
> filename instead of the directory name. With further debugging, the problem
> appeares that the expression for the move attribute expression is evaluted
> in the GenericFileExpressionRenamer class. I can see that the expression
> appends the {file:onlyname} to the end of the directory we mention.
> However this does not evaluate correctly in 2.12.1 but works fine in 2.10.3.
> I suspect it might be because of how the new handling of properties are
> happening  between spring and apache camel. Here is my file url:
>                         <from
> uri="file:{{}}?include={{}}&amp;delay={{lowBalance.file.poll.delay}}&amp;doneFileName=LOWBAL_2013-23-00-00-00.70.DAT.sig&amp;move={{}}&amp;moveFailed={{}}"
> />
> As a separate issue, using the $simple{file:name} in the doneFileName wasnt
> working either. Could you please help ?
> Regards,
> Q-A
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message