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

File consumer - Allow to specify a header that has the file name to poll

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • None
    • Future
    • camel-core
    • None
    • Unknown

    Description

      See SO
      http://stackoverflow.com/questions/43849165/camel-pollenrich-generating-a-lot-of-timed-waiting-threads

      We can have a FILE_FILTER_NAME header that matches in the
      org.apache.camel.component.file.GenericFileConsumer#isMatched(org.apache.camel.component.file.GenericFile<T>, boolean, java.util.List<T>)

      so end users can set the header first and then do a pollEnrich with a static endpoint.

      The header can then use equalsIgnoreCase and reguar exp for matching, to make it easier to match files.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: