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:46 UTC
[camel-kamelets] 01/12: Bean: Use properties instead of property with key and value - JMS Artemis Source
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 46bc88614e78435ac42ba88fc9ea8f53902499c0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 12:59:35 2023 +0200
Bean: Use properties instead of property with key and value - JMS Artemis Source
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
kamelets/jms-apache-artemis-source.kamelet.yaml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/kamelets/jms-apache-artemis-source.kamelet.yaml b/kamelets/jms-apache-artemis-source.kamelet.yaml
index ec09f5cd..5e538ca2 100644
--- a/kamelets/jms-apache-artemis-source.kamelet.yaml
+++ b/kamelets/jms-apache-artemis-source.kamelet.yaml
@@ -59,9 +59,8 @@ spec:
beans:
- name: connectionFactoryBean
type: "#class:org.apache.activemq.artemis.jms.client.ActiveMQConnectionFactory"
- property:
- - key: brokerURL
- value: '{{brokerURL}}'
+ properties:
+ brokerURL: '{{brokerURL}}'
from:
uri: "jms:{{destinationType}}:{{destinationName}}"
parameters: