Skip to content

Commit

Permalink
Spring RabbitMQ Sink Kamelet: Support autoDeclareProducer as parameter (
Browse files Browse the repository at this point in the history
#1944)

Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
  • Loading branch information
oscerd committed Mar 12, 2024
1 parent 8469401 commit 4442fac
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions kamelets/spring-rabbitmq-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ spec:
title: Queue name
description: The queue to receive messages from
type: string
autoDeclareProducer:
title: Auto Declare Producer
description: Specifies whether the producer should auto declare binding between exchange, queue and routing key when starting
type: boolean
default: false
dependencies:
- "camel:spring-rabbitmq"
- "camel:kamelet"
Expand All @@ -95,3 +100,4 @@ spec:
connectionFactory: "#bean:{{connectionFactory}}"
routingKey: "{{?routingKey}}"
queues: "{{?queues}}"
autoDeclareProducer: "{{autoDeclareProducer}}"
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ spec:
title: Queue name
description: The queue to receive messages from
type: string
autoDeclareProducer:
title: Auto Declare Producer
description: Specifies whether the producer should auto declare binding between exchange, queue and routing key when starting
type: boolean
default: false
dependencies:
- "camel:spring-rabbitmq"
- "camel:kamelet"
Expand All @@ -95,3 +100,4 @@ spec:
connectionFactory: "#bean:{{connectionFactory}}"
routingKey: "{{?routingKey}}"
queues: "{{?queues}}"
autoDeclareProducer: "{{autoDeclareProducer}}"

0 comments on commit 4442fac

Please sign in to comment.