You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2024/01/23 11:02:58 UTC
(camel-kamelets) 02/03: Review Throttle Action
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 1842
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 26ec25e74da5a48c413e5f0feb3d7a98a5379909
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jan 23 12:01:20 2024 +0100
Review Throttle Action
Signed-off-by: Andrea Cosentino <an...@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}}"