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 2022/03/28 10:35:01 UTC

[camel-kamelets] 01/02: Azure Servicebus Souce Kamelet: Add subscriptionName as optional parameter for Topic

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

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

commit 38b4da54e13cdb654ac811a3e2c3b5561166ac0b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Mar 28 12:28:56 2022 +0200

    Azure Servicebus Souce Kamelet: Add subscriptionName as optional parameter for Topic
---
 kamelets/azure-servicebus-source.kamelet.yaml | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/kamelets/azure-servicebus-source.kamelet.yaml b/kamelets/azure-servicebus-source.kamelet.yaml
index aafaf72..b202fe7 100644
--- a/kamelets/azure-servicebus-source.kamelet.yaml
+++ b/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"