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:41:45 UTC

[camel-kamelets] 03/03: 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 0.9.x
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 45f979500d2d3bcc60675aa3cfd476c5af7cbd09
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 3b9903dd..1348c6c6 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"