camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sarfaraj <sarfarajsay...@gmail.com>
Subject How to consume old file first in SFTP ?
Date Wed, 03 Apr 2013 06:05:36 GMT
Hi,

We need to consume file based on date modified.

We need to consumed old file first then latest.

I did "sortBy=reverse:file:modifed"....but still its consuming by name.

I also tried "sortBy=file:modifed", but did not worked.

Can someone tell me how to consume old file first in SFTP consumer ?

Here is my from tag............
<from
uri="sftp://root@IP_XXXXX://tmp?password=&amp;sortBy=reverse:file:modifed&amp;noop=true"
/>

/Sarfaraj




--
View this message in context: http://camel.465427.n5.nabble.com/How-to-consume-old-file-first-in-SFTP-tp5730253.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message