You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/06/10 12:02:58 UTC

[jira] [Resolved] (CAMEL-4076) FileIdempotentRepository fileStore does not get loaded on bootrapping, therefore files are processed again

     [ https://issues.apache.org/jira/browse/CAMEL-4076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-4076.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.0

Thanks for reporting. I have fixed it on trunk.

> FileIdempotentRepository fileStore does not get loaded on bootrapping, therefore files are processed again
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-4076
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4076
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core, camel-ftp
>    Affects Versions: 2.7.2
>         Environment: Win
>            Reporter: Anuj
>            Assignee: Claus Ibsen
>              Labels: FileIdempotent, FileStore,
>             Fix For: 2.8.0
>
>         Attachments: BatchLoadDriver.java, FtpRouteBuilder.java, InvokeWithProcessor.xml
>
>
> I am using JVM based initialization of Camel using Spring.
> I use the documented Camel initialization procedure of main.setApplicationContext("my-spring-camel-config.xml");
> main.start()
> I also use the documented FileIdempotentRepository that points to a FileStore.
> However, when Camel initializes this filestore is not loaded up. Hence, the LRU cache contained within this is empty.
> As a result, all my files are FTPed again from the remote server.
> This happens everytime I start my JVM resulting in expensive FTP of files.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira