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 13:28:49 UTC

[camel-kamelets] 04/12: Bean: Use properties instead of property with key and value - JMS Artemis Sink

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

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

commit 9ffd429188c9fb23937760859045d7cd1d3cc9f5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 15:09:00 2023 +0200

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/jms-apache-artemis-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jms-apache-artemis-sink.kamelet.yaml
index c6a8d430..ce9d69dc 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/jms-apache-artemis-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/jms-apache-artemis-sink.kamelet.yaml
@@ -60,9 +60,8 @@ spec:
     beans:
       - name: connectionFactoryBean
         type: "#class:org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory"
-        property:
-          - key: brokerURL
-            value: '{{brokerURL}}'
+        properties:
+          brokerURL: '{{brokerURL}}'
     from:
       uri: "kamelet:source"
       steps: