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

DdbStreamConsumer should inherit ?pollStrategy from DdbStreamEndpoint

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.17.0
    • Fix Version/s: 2.17.0
    • Component/s: camel-aws
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      I would like to be able to define my own PollingConsumerPollStrategy for a DdbStream.

      I can add ?pollStrategy=#myStrategy to the URI of the endpoint, and that does indeed define it correctly on the endpoint (as shown by endpoint.getPollStrategy()).

      However the poll strategy is not copied across to the consumer (consumer.getPollStrategy() shows the DefaultPollingConsumerPollStrategy, not my custom one).

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              rvedotrc Rachel Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: