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 2022/10/05 08:37:28 UTC

[camel-kamelets] 02/02: RabbitMQ Source Kamelet: Add a vhost parameter

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

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

commit e778993511108b58dc48d54af1da0ad5e90888e4
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 5 10:36:21 2022 +0200

    RabbitMQ Source Kamelet: Add a vhost parameter
---
 .../src/main/resources/kamelets/rabbitmq-source.kamelet.yaml        | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/rabbitmq-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/rabbitmq-source.kamelet.yaml
index c179a516..8cdbacd1 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/rabbitmq-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/rabbitmq-source.kamelet.yaml
@@ -67,6 +67,11 @@ spec:
         title: Queue name
         description: The queue to receive messages from
         type: string
+      vhost:
+        title: Virtual Host
+        description: The vhost for the channel
+        type: string
+        default: "/"
   dependencies:
     - "camel:rabbitmq"
     - "camel:kamelet"
@@ -79,5 +84,6 @@ spec:
         addresses: "{{addresses}}"
         routingKey: "{{?routingKey}}"
         queue: "{{?queue}}"
+        vhost: "{{vhost}}"
       steps:
       - to: "kamelet:sink"