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 2023/02/07 13:38:02 UTC

[camel-kamelets] 01/02: Convert all the parameters with multiple possible values to enum - Azure Servicebus Source

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch azure-servicebus-source-3.20.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit d00ba0cbf6e41da95c631a3cf669633282f1f6de
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Feb 7 14:36:23 2023 +0100

    Convert all the parameters with multiple possible values to enum - Azure Servicebus Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/azure-servicebus-source.kamelet.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/kamelets/azure-servicebus-source.kamelet.yaml b/kamelets/azure-servicebus-source.kamelet.yaml
index 54e1b37a..6401c687 100644
--- a/kamelets/azure-servicebus-source.kamelet.yaml
+++ b/kamelets/azure-servicebus-source.kamelet.yaml
@@ -53,9 +53,10 @@ spec:
         - urn:camel:group:credentials
       serviceBusReceiveMode:
         title: Servicebus Receive Mode
-        description: Sets the receive mode for the receiver, possible values are PEEK_LOCK and RECEIVE_AND_DELETE
+        description: Sets the receive mode for the receiver
         type: string
         default: PEEK_LOCK
+        enum: ["PEEK_LOCK", "RECEIVE_AND_DELETE"]
       subscriptionName:
         title: Subscription Name
         description: Sets the name of the subscription in the topic to listen to. This parameter is mandatory in case of topic.