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 2024/03/12 13:05:44 UTC

(camel-kamelets) branch 1943 created (now c2ef7eb6)

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

acosentino pushed a change to branch 1943
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git


      at c2ef7eb6 Spring RabbitMQ Sink Kamelet: Support autoDeclareProducer as parameter

This branch includes the following new commits:

     new c2ef7eb6 Spring RabbitMQ Sink Kamelet: Support autoDeclareProducer as parameter

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(camel-kamelets) 01/01: Spring RabbitMQ Sink Kamelet: Support autoDeclareProducer as parameter

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit c2ef7eb6b4ceada6d5e09c3b0fc47d52823e4155
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Mar 12 14:04:33 2024 +0100

    Spring RabbitMQ Sink Kamelet: Support autoDeclareProducer as parameter
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/spring-rabbitmq-sink.kamelet.yaml                          | 6 ++++++
 .../src/main/resources/kamelets/spring-rabbitmq-sink.kamelet.yaml   | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/kamelets/spring-rabbitmq-sink.kamelet.yaml b/kamelets/spring-rabbitmq-sink.kamelet.yaml
index 0494c6cd..7f0da3b5 100644
--- a/kamelets/spring-rabbitmq-sink.kamelet.yaml
+++ b/kamelets/spring-rabbitmq-sink.kamelet.yaml
@@ -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"
@@ -95,3 +100,4 @@ spec:
             connectionFactory: "#bean:{{connectionFactory}}"
             routingKey: "{{?routingKey}}"
             queues: "{{?queues}}"
+            autoDeclareProducer: "{{autoDeclareProducer}}"
diff --git a/library/camel-kamelets/src/main/resources/kamelets/spring-rabbitmq-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/spring-rabbitmq-sink.kamelet.yaml
index 0494c6cd..7f0da3b5 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/spring-rabbitmq-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/spring-rabbitmq-sink.kamelet.yaml
@@ -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"
@@ -95,3 +100,4 @@ spec:
             connectionFactory: "#bean:{{connectionFactory}}"
             routingKey: "{{?routingKey}}"
             queues: "{{?queues}}"
+            autoDeclareProducer: "{{autoDeclareProducer}}"