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

Throttle EIP: milliseconds not available anymore

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      Recently, the Throttle EIP was changed. For example, in this issue:

      https://issues.apache.org/jira/browse/CAMEL-16099

      Now the option "timePeriodMillis" isn't available anymore:

      https://camel.apache.org/components/next/eips/throttle-eip.html

      This is also documented in the migration guide:

      https://camel.apache.org/manual/camel-4x-upgrade-guide-4_3.html

      However:

      1. The option is still there in the examples of the latest documentation
      2. The option is still there in the Kamelet catalog (4.3.0):

      https://github.com/apache/camel-kamelets/blob/main/kamelets/throttle-action.kamelet.yaml

      When loading the throttle from the Kamelet catalog, I got the following message:

      could not load: kamelets/throttle-action.kamelet.yaml. Reason: Field: timePeriodMillis has already been configured as an expression
       in throttle-action.kamelet.yaml, line 67, column 29:
                    timePeriodMillis: "{{timePeriod}}" 

      Attachments

        Issue Links

          Activity

            People

              orpiske Otavio Rodolfo Piske
              skin27 Raymond
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: