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 2023/05/24 07:57:22 UTC

[camel-kamelets] 08/08: Bean: Use properties instead of property with key and value - JMS AMQP Sink

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

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

commit a46ea7a41638a879958de28d76ae5c350e01a68d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 09:52:39 2023 +0200

    Bean: Use properties instead of property with key and value - JMS AMQP Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../src/main/resources/kamelets/jms-amqp-10-sink.kamelet.yaml        | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/jms-amqp-10-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jms-amqp-10-sink.kamelet.yaml
index 52bbfa31..07d1034d 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/jms-amqp-10-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/jms-amqp-10-sink.kamelet.yaml
@@ -59,9 +59,8 @@ spec:
     beans:
       - name: connectionFactoryBean
         type: "#class:org.apache.qpid.jms.JmsConnectionFactory"
-        property:
-          - key: remoteURI
-            value: '{{remoteURI}}'
+        properties:
+          remoteURI: '{{remoteURI}}'
     from:
       uri: "kamelet:source"
       steps: