The FTP consumer (which extends the file consumer) should set the header
"CamelFileLastModified". Isn't it?
You can read more about it at [1] and [2].

[1] http://camel.apache.org/file2.html
[2] http://camel.apache.org/ftp2.html

Best,
Christian

On Mon, Sep 17, 2012 at 5:28 PM, webber78 <kiran.baire...@gmail.com> wrote:

> Hi,
>
> I have implemented a custom jdbc idempotent repository(extanding
> AbstractJdbcMessageIdRepository) to track sftp file downloads. Based on the
> example from documenation, the only file properties I am able to store in
> the new table are the messageId (which is the filename). I would like the
> updated files (with same name) to get downloaded and processed.
>
> But it appears there is no way to get the last modified time using the
> messageId alone. If such a thing was possible, i could make the key in the
> table a combination of filename and timestamp and that would solve the
> problem.
>
> Please let me know if anyone has a solution/workaround for this problem.
>
> Thanks.
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Custom-Idempotent-Jdbc-repository-Using-lastmodified-time-tp5719480.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>



--

Reply via email to