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 e0d832e64b4e379c840b432e989b3223952b1001 Author: Andrea Cosentino <[email protected]> AuthorDate: Wed May 28 18:18:42 2025 +0200 Support TLS on RabbitMQ Kamelets - Source Signed-off-by: Andrea Cosentino <[email protected]> --- kamelets/spring-rabbitmq-source.kamelet.yaml | 9 +++++++-- .../main/resources/kamelets/spring-rabbitmq-source.kamelet.yaml | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/kamelets/spring-rabbitmq-source.kamelet.yaml b/kamelets/spring-rabbitmq-source.kamelet.yaml index 14389214a..784ed274b 100644 --- a/kamelets/spring-rabbitmq-source.kamelet.yaml +++ b/kamelets/spring-rabbitmq-source.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: "spring-rabbitmq://{{exchangeName}}" diff --git a/library/camel-kamelets/src/main/resources/kamelets/spring-rabbitmq-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/spring-rabbitmq-source.kamelet.yaml index 14389214a..784ed274b 100644 --- a/library/camel-kamelets/src/main/resources/kamelets/spring-rabbitmq-source.kamelet.yaml +++ b/library/camel-kamelets/src/main/resources/kamelets/spring-rabbitmq-source.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: "spring-rabbitmq://{{exchangeName}}"
