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 06c7f67009edc094f9f06961166382aaf8f95bf8
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Mar 28 12:30:22 2022 +0200

    Azure Servicebus Souce Kamelet: Add subscriptionName as optional parameter 
for Topic
---
 .../main/resources/kamelets/azure-servicebus-source.kamelet.yaml   | 7 +++++++
 1 file changed, 7 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 aafaf72..b202fe7 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
@@ -32,6 +32,8 @@ spec:
     title: "Azure Servicebus Source"
     description: |-
       Consume Messages from Azure Servicebus.
+
+      The subscribtion name parameter needs to be populated in case of 
consuming from a Topic.
     required:
       - topicOrQueueName
       - connectionString
@@ -54,6 +56,10 @@ spec:
         description: Sets the receive mode for the receiver, possible values 
are PEEK_LOCK and RECEIVE_AND_DELETE
         type: String
         default: PEEK_LOCK
+      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.
+        type: String
   types:
     out:
       mediaType: application/octet-stream
@@ -67,6 +73,7 @@ spec:
       parameters:
         connectionString: "{{connectionString}}"
         serviceBusReceiveMode: "{{serviceBusReceiveMode}}"
+        subscriptionName: "{{?subscriptionName}}"
       steps:
       - to: "kamelet:sink"
 

Reply via email to