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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.16.0
    • camel-core
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment