Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Topic in Servicebus Kamelets #1622

Merged
merged 1 commit into from
Sep 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions kamelets/azure-servicebus-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ spec:
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
- urn:camel:group:credentials
serviceBusType:
title: Servicebus Type
description: The service bus type of connection to execute. Queue is for typical queue option and topic for subscription based model.
type: string
default: queue
enum: ["queue", "topic"]
types:
in:
mediaType: application/octet-stream
Expand All @@ -65,4 +71,5 @@ spec:
uri: "azure-servicebus:{{topicOrQueueName}}"
parameters:
connectionString: "{{connectionString}}"
serviceBusType: "{{serviceBusType}}"
producerOperation: "sendMessages"
7 changes: 7 additions & 0 deletions kamelets/azure-servicebus-source.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ spec:
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
serviceBusType:
title: Servicebus Type
description: The service bus type of connection to execute. Queue is for typical queue option and topic for subscription based model.
type: string
default: queue
enum: ["queue", "topic"]
types:
out:
mediaType: application/octet-stream
Expand All @@ -76,6 +82,7 @@ spec:
connectionString: "{{connectionString}}"
serviceBusReceiveMode: "{{serviceBusReceiveMode}}"
subscriptionName: "{{?subscriptionName}}"
serviceBusType: "{{serviceBusType}}"
steps:
- set-body:
simple: "${body.toBytes()}"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ spec:
x-descriptors:
- urn:alm:descriptor:com.tectonic.ui:password
- urn:camel:group:credentials
serviceBusType:
title: Servicebus Type
description: The service bus type of connection to execute. Queue is for typical queue option and topic for subscription based model.
type: string
default: queue
enum: ["queue", "topic"]
types:
in:
mediaType: application/octet-stream
Expand All @@ -65,4 +71,5 @@ spec:
uri: "azure-servicebus:{{topicOrQueueName}}"
parameters:
connectionString: "{{connectionString}}"
serviceBusType: "{{serviceBusType}}"
producerOperation: "sendMessages"
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ spec:
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
serviceBusType:
title: Servicebus Type
description: The service bus type of connection to execute. Queue is for typical queue option and topic for subscription based model.
type: string
default: queue
enum: ["queue", "topic"]
types:
out:
mediaType: application/octet-stream
Expand All @@ -76,6 +82,7 @@ spec:
connectionString: "{{connectionString}}"
serviceBusReceiveMode: "{{serviceBusReceiveMode}}"
subscriptionName: "{{?subscriptionName}}"
serviceBusType: "{{serviceBusType}}"
steps:
- set-body:
simple: "${body.toBytes()}"
Expand Down
Loading