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 30e2def994e0bc804d6bb79abc0bbacd38493a1b Author: Andrea Cosentino <[email protected]> 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"
