Skip to content

Commit

Permalink
Azure Servicebus Souce Kamelet: Add subscriptionName as optional para…
Browse files Browse the repository at this point in the history
…meter for Topic
  • Loading branch information
oscerd committed Mar 28, 2022
1 parent 30e2def commit 06c7f67
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -67,6 +73,7 @@ spec:
parameters:
connectionString: "{{connectionString}}"
serviceBusReceiveMode: "{{serviceBusReceiveMode}}"
subscriptionName: "{{?subscriptionName}}"
steps:
- to: "kamelet:sink"

0 comments on commit 06c7f67

Please sign in to comment.