camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vishal Changrani <>
Subject Consuming mutiple files with current date as filename suffix?
Date Fri, 16 Nov 2012 18:44:20 GMT
I want to configure an FTP Consumer to consume multiple files such as,
etc. Basically <filename pattern>_<today's date>.zip.

I tried giving filename=(abcd|xyz)_${date:now:yyyymmdd}.zip as part of the URI but this doesn't
consumes or I think the FTP consumer expects a file which
starts with (abcd..
And doesn't really look for the regex abcd or xyz.
I changed the URL to contain an include=(abcd|xyz)... rather than a filename but then it doesn't
understand the ${date:now:yyyymmdd} file language.

Is there any way to confiure mutiple file consumption with the file langugage or specify a
regex with today's date?
Thanks in advance,

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