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 03cc93eaaec1c91d9b08ba85c2f7aa84efd08e84
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Mar 9 13:11:45 2022 +0100

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

diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/azure-servicebus-source.kamelet.yaml
 
b/library/camel-kamelets/src/main/resources/kamelets/azure-servicebus-source.kamelet.yaml
index fe438fc..257b298 100644
--- 
a/library/camel-kamelets/src/main/resources/kamelets/azure-servicebus-source.kamelet.yaml
+++ 
b/library/camel-kamelets/src/main/resources/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