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 12a37ba346aeaba562234b5bdb4e28736fc264ea
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Mar 9 13:09:35 2022 +0100

    Azure Servicebus Source Kamelet: add serviceBusReceiveMode option
---
 kamelets/azure-servicebus-source.kamelet.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/kamelets/azure-servicebus-source.kamelet.yaml 
b/kamelets/azure-servicebus-source.kamelet.yaml
index fe438fc..257b298 100644
--- a/kamelets/azure-servicebus-source.kamelet.yaml
+++ b/kamelets/azure-servicebus-source.kamelet.yaml
@@ -49,6 +49,11 @@ spec:
         x-descriptors:
         - urn:alm:descriptor:com.tectonic.ui:password
         - 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
+        type: String
+        default: PEEK_LOCK
   types:
     out:
       mediaType: application/octet-stream
@@ -61,6 +66,7 @@ spec:
       uri: "azure-servicebus:{{topicOrQueueName}}"
       parameters:
         connectionString: "{{connectionString}}"
+        serviceBusReceiveMode: "{{serviceBusReceiveMode}}"
       steps:
       - to: "kamelet:sink"
 

Reply via email to