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

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

commit 1e2e45abfebc0ca5ee71b8cc2304a928bc7d4245
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed May 24 09:47:00 2023 +0200

    Bean: Use properties instead of property with key and value - JMS AMQP 
Source
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 kamelets/jms-amqp-10-source.kamelet.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/kamelets/jms-amqp-10-source.kamelet.yaml 
b/kamelets/jms-amqp-10-source.kamelet.yaml
index 3a0f4131..e93a9866 100644
--- a/kamelets/jms-amqp-10-source.kamelet.yaml
+++ b/kamelets/jms-amqp-10-source.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: "jms:{{destinationType}}:{{destinationName}}"
       parameters:

Reply via email to