Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-21865

pollEnrich files component behavior change between 6.3 and 7.11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • fuse-7.12.1-GA
    • None
    • Camel
    • None
    • Important
    • Very Likely

    Description

      I used the pollEnrich("file://"), the code worked well in 6.3.516 version. But does not work in 7.11 & 7.12 version.
      We can reproduce the issue on local env.
      his code logic is as below:
      when there is no mathed files, log a message
      "No more exchanges found. Stopping..." and stop the current exchange routing.

      The camel route use camel-file consumer to poll files from a folder (say "ready/" folder). The files should be pre-moved to another folder if file name satisfies with antInclude filter. Then the file in the pre-move folder should be processed and after done, it should be moved to another folder indicating that it has been processed.

      However, it does not always work. What we saw that sometime, the file on the "ready/" folder was missed and not being picked up even though the file name satisfied the antInclude filter. So it would stay there forever until the bundle was restarted. Some other times, the file was pre-moved to "processing/" folder but failed to be processed so again the file would stay in the "processing/" folder, obviously, until the bundle was restarted.

      Attachments

        Activity

          People

            ldemasi Luigi De Masi
            rhn-support-xiwu Xiaohui Wu
            Tomas Veskrna Tomas Veskrna
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: