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:48 UTC

[camel-kamelets] 03/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 382dceb15127061a0a707a48277673a68bd129b5
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 15:08:11 2023 +0200

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

diff --git a/kamelets/jms-apache-artemis-sink.kamelet.yaml b/kamelets/jms-apache-artemis-sink.kamelet.yaml
index c6a8d430..ce9d69dc 100644
--- a/kamelets/jms-apache-artemis-sink.kamelet.yaml
+++ b/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: