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

Allow polling consumer to accept parameters such as a header with a file name to poll

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.16.0
    • Component/s: camel-core
    • Labels:
      None

      Description

      I want something like:

      .setHeader(Exchange.FILE_NAME).xpath("...")
      .pollEnrich("file:/test/data", 10000)
      

      But PollingConsumer API does not allow passing FILE_NAME from outside.

      See http://www.nabble.com/pollEnrich-doesn%27t-look-for-FILE_NAME-ts25458854.html

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                davsclaus Claus Ibsen
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: