This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit b73a8851400e78dd1d09a5dc7ba1ddfee8fef439 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Jan 23 12:01:20 2024 +0100 Review Throttle Action Signed-off-by: Andrea Cosentino <anco...@gmail.com> --- kamelets/throttle-action.kamelet.yaml | 2 +- .../src/main/resources/kamelets/throttle-action.kamelet.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kamelets/throttle-action.kamelet.yaml b/kamelets/throttle-action.kamelet.yaml index a611e72e..48986812 100644 --- a/kamelets/throttle-action.kamelet.yaml +++ b/kamelets/throttle-action.kamelet.yaml @@ -32,7 +32,7 @@ spec: title: "Throttle Action" description: "The Throttle action allows you to ensure that a specific sink does not get overloaded." required: - - messages + - maxConcurrentRequests properties: maxConcurrentRequests: title: Max Concurrent Requests diff --git a/library/camel-kamelets/src/main/resources/kamelets/throttle-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/throttle-action.kamelet.yaml index 0c109cdf..a611e72e 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/throttle-action.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/throttle-action.kamelet.yaml @@ -48,4 +48,4 @@ spec: uri: kamelet:source steps: - throttle: - constant: "{{messages}}" + constant: "{{maxConcurrentRequests}}"