Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-4076

FileIdempotentRepository fileStore does not get loaded on bootrapping, therefore files are processed again

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. InvokeWithProcessor.xml
          2 kB
          Anuj
        2. FtpRouteBuilder.java
          1.0 kB
          Anuj
        3. BatchLoadDriver.java
          0.7 kB
          Anuj

        Activity

          People

            davsclaus Claus Ibsen
            adkathuria@yahoo.com Anuj
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: