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 2025/05/28 16:21:30 UTC
(camel-kamelets) 02/02: Support TLS on RabbitMQ Kamelets - Sink
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 2476
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 6075e52e495900d4ebd05734ac4df5e108069e1c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 28 18:21:01 2025 +0200
Support TLS on RabbitMQ Kamelets - Sink
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/spring-rabbitmq-sink.kamelet.yaml | 9 +++++++--
.../main/resources/kamelets/spring-rabbitmq-sink.kamelet.yaml | 9 +++++++--
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/kamelets/spring-rabbitmq-sink.kamelet.yaml b/kamelets/spring-rabbitmq-sink.kamelet.yaml
index bbc6758f6..d299ff117 100644
--- a/kamelets/spring-rabbitmq-sink.kamelet.yaml
+++ b/kamelets/spring-rabbitmq-sink.kamelet.yaml
@@ -84,6 +84,12 @@ spec:
description: The virtual host
type: string
default: "/"
+ protocol:
+ title: Protocol
+ description: The AMQP protocol to use.
+ type: string
+ enum: ["amqp", "amqps"]
+ default: "amqp"
dependencies:
- "camel:spring-rabbitmq"
- "camel:kamelet"
@@ -94,8 +100,7 @@ spec:
properties:
username: '{{?username}}'
password: '{{?password}}'
- host: '{{host}}'
- port: '{{port}}'
+ uri: '{{protocol}}://{{host}}:{{port}}'
virtualHost: "{{vhost}}"
from:
uri: "kamelet:source"
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 bbc6758f6..d299ff117 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
@@ -84,6 +84,12 @@ spec:
description: The virtual host
type: string
default: "/"
+ protocol:
+ title: Protocol
+ description: The AMQP protocol to use.
+ type: string
+ enum: ["amqp", "amqps"]
+ default: "amqp"
dependencies:
- "camel:spring-rabbitmq"
- "camel:kamelet"
@@ -94,8 +100,7 @@ spec:
properties:
username: '{{?username}}'
password: '{{?password}}'
- host: '{{host}}'
- port: '{{port}}'
+ uri: '{{protocol}}://{{host}}:{{port}}'
virtualHost: "{{vhost}}"
from:
uri: "kamelet:source"