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 New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.0.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

        Issue Links

          Activity

            People

            • Assignee:
              Claus Ibsen
              Reporter:
              Claus Ibsen
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:

                Development