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

[camel-kamelets] branch 1475-3 created (now 42266637)

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

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


      at 42266637 Bean: Use properties instead of property with key and value - Kafka not secured sink

This branch includes the following new commits:

     new 46bc8861 Bean: Use properties instead of property with key and value - JMS Artemis Source
     new b0743b37 Bean: Use properties instead of property with key and value - JMS Artemis Source
     new 382dceb1 Bean: Use properties instead of property with key and value - JMS Artemis Sink
     new 9ffd4291 Bean: Use properties instead of property with key and value - JMS Artemis Sink
     new faeb0e30 Bean: Use properties instead of property with key and value - IBM MQ Sink
     new 53a9db1e Bean: Use properties instead of property with key and value - IBM MQ Source
     new 7f61b8d0 Bean: Use properties instead of property with key and value - IBM MQ Sink
     new 626fa3f5 Bean: Use properties instead of property with key and value - IBM MQ Sink
     new 447453e6 Bean: Use properties instead of property with key and value - Kafka not secured source
     new af88ebd3 Bean: Use properties instead of property with key and value - Kafka not secured source
     new 4853b964 Bean: Use properties instead of property with key and value - Kafka not secured sink
     new 42266637 Bean: Use properties instead of property with key and value - Kafka not secured sink

The 12 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-kamelets] 08/12: Bean: Use properties instead of property with key and value - IBM MQ Sink

Posted by ac...@apache.org.
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 626fa3f58388224ad0fc5e982a2724422d5b6626
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 15:19:20 2023 +0200

    Bean: Use properties instead of property with key and value - IBM MQ Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../kamelets/jms-ibm-mq-sink.kamelet.yaml          | 29 ++++++++--------------
 1 file changed, 10 insertions(+), 19 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml
index d1f8edc1..330b6fe0 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-sink.kamelet.yaml
@@ -101,25 +101,16 @@ spec:
     beans:
       - name: wmqConnectionFactory
         type: "#class:com.ibm.mq.jms.MQConnectionFactory"
-        property:
-          - key: XMSC_WMQ_HOST_NAME
-            value: '{{serverName}}'
-          - key: XMSC_WMQ_PORT
-            value: '{{serverPort}}'
-          - key: XMSC_WMQ_CHANNEL
-            value: '{{channel}}'
-          - key: XMSC_WMQ_QUEUE_MANAGER
-            value: '{{queueManager}}'
-          - key: XMSC_WMQ_CONNECTION_MODE
-            value: 1
-          - key: XMSC_USERID
-            value: '{{username}}'
-          - key: XMSC_PASSWORD
-            value: '{{password}}'
-          - key: XMSC_CLIENT_ID
-            value: '{{?clientId}}'
-          - key: XMSC_WMQ_SSL_CIPHER_SUITE
-            value: '{{?sslCipherSuite}}'
+        properties:
+          XMSC_WMQ_HOST_NAME: '{{serverName}}'
+          XMSC_WMQ_PORT: '{{serverPort}}'
+          XMSC_WMQ_CHANNEL: '{{channel}}'
+          XMSC_WMQ_QUEUE_MANAGER: '{{queueManager}}'
+          XMSC_WMQ_CONNECTION_MODE: 1
+          XMSC_USERID: '{{username}}'
+          XMSC_PASSWORD: '{{password}}'
+          XMSC_CLIENT_ID: '{{?clientId}}'
+          XMSC_WMQ_SSL_CIPHER_SUITE: '{{?sslCipherSuite}}'
     from:
       uri: "kamelet:source"
       steps:


[camel-kamelets] 06/12: Bean: Use properties instead of property with key and value - IBM MQ Source

Posted by ac...@apache.org.
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 53a9db1e4fac446aee686e1b4bd47e380975006d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 15:15:00 2023 +0200

    Bean: Use properties instead of property with key and value - IBM MQ Source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../kamelets/jms-ibm-mq-source.kamelet.yaml        | 29 ++++++++--------------
 1 file changed, 10 insertions(+), 19 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml
index 68dce581..0fc79820 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/jms-ibm-mq-source.kamelet.yaml
@@ -101,25 +101,16 @@ spec:
     beans:
       - name: wmqConnectionFactory
         type: "#class:com.ibm.mq.jms.MQConnectionFactory"
-        property:
-          - key: XMSC_WMQ_HOST_NAME
-            value: '{{serverName}}'
-          - key: XMSC_WMQ_PORT
-            value: '{{serverPort}}'
-          - key: XMSC_WMQ_CHANNEL
-            value: '{{channel}}'
-          - key: XMSC_WMQ_QUEUE_MANAGER
-            value: '{{queueManager}}'
-          - key: XMSC_WMQ_CONNECTION_MODE
-            value: 1
-          - key: XMSC_USERID
-            value: '{{username}}'
-          - key: XMSC_PASSWORD
-            value: '{{password}}'
-          - key: XMSC_CLIENT_ID
-            value: '{{?clientId}}'
-          - key: XMSC_WMQ_SSL_CIPHER_SUITE
-            value: '{{?sslCipherSuite}}'
+        properties:
+          XMSC_WMQ_HOST_NAME: '{{serverName}}'
+          XMSC_WMQ_PORT: '{{serverPort}}'
+          XMSC_WMQ_CHANNEL: '{{channel}}'
+          XMSC_WMQ_QUEUE_MANAGER: '{{queueManager}}'
+          XMSC_WMQ_CONNECTION_MODE: 1
+          XMSC_USERID: '{{username}}'
+          XMSC_PASSWORD: '{{password}}'
+          XMSC_CLIENT_ID: '{{?clientId}}'
+          XMSC_WMQ_SSL_CIPHER_SUITE: '{{?sslCipherSuite}}'
     from:
       uri: "jms:{{destinationType}}:{{destinationName}}"
       parameters:


[camel-kamelets] 05/12: Bean: Use properties instead of property with key and value - IBM MQ Sink

Posted by ac...@apache.org.
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 faeb0e301f95c7f70424140bc7e086a20e8d8281
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 15:13:43 2023 +0200

    Bean: Use properties instead of property with key and value - IBM MQ Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/jms-ibm-mq-source.kamelet.yaml | 29 ++++++++++-------------------
 1 file changed, 10 insertions(+), 19 deletions(-)

diff --git a/kamelets/jms-ibm-mq-source.kamelet.yaml b/kamelets/jms-ibm-mq-source.kamelet.yaml
index 68dce581..0fc79820 100644
--- a/kamelets/jms-ibm-mq-source.kamelet.yaml
+++ b/kamelets/jms-ibm-mq-source.kamelet.yaml
@@ -101,25 +101,16 @@ spec:
     beans:
       - name: wmqConnectionFactory
         type: "#class:com.ibm.mq.jms.MQConnectionFactory"
-        property:
-          - key: XMSC_WMQ_HOST_NAME
-            value: '{{serverName}}'
-          - key: XMSC_WMQ_PORT
-            value: '{{serverPort}}'
-          - key: XMSC_WMQ_CHANNEL
-            value: '{{channel}}'
-          - key: XMSC_WMQ_QUEUE_MANAGER
-            value: '{{queueManager}}'
-          - key: XMSC_WMQ_CONNECTION_MODE
-            value: 1
-          - key: XMSC_USERID
-            value: '{{username}}'
-          - key: XMSC_PASSWORD
-            value: '{{password}}'
-          - key: XMSC_CLIENT_ID
-            value: '{{?clientId}}'
-          - key: XMSC_WMQ_SSL_CIPHER_SUITE
-            value: '{{?sslCipherSuite}}'
+        properties:
+          XMSC_WMQ_HOST_NAME: '{{serverName}}'
+          XMSC_WMQ_PORT: '{{serverPort}}'
+          XMSC_WMQ_CHANNEL: '{{channel}}'
+          XMSC_WMQ_QUEUE_MANAGER: '{{queueManager}}'
+          XMSC_WMQ_CONNECTION_MODE: 1
+          XMSC_USERID: '{{username}}'
+          XMSC_PASSWORD: '{{password}}'
+          XMSC_CLIENT_ID: '{{?clientId}}'
+          XMSC_WMQ_SSL_CIPHER_SUITE: '{{?sslCipherSuite}}'
     from:
       uri: "jms:{{destinationType}}:{{destinationName}}"
       parameters:


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

Posted by ac...@apache.org.
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 b0743b370db4dc8b7c801cbf9c32e5e10c0c794a
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 13:01:18 2023 +0200

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

diff --git a/library/camel-kamelets/src/main/resources/kamelets/jms-apache-artemis-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/jms-apache-artemis-source.kamelet.yaml
index ec09f5cd..5e538ca2 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/jms-apache-artemis-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/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:


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

Posted by ac...@apache.org.
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:


[camel-kamelets] 07/12: Bean: Use properties instead of property with key and value - IBM MQ Sink

Posted by ac...@apache.org.
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 7f61b8d09a46e7b60ccccd5e9e00740f607751e0
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 15:17:30 2023 +0200

    Bean: Use properties instead of property with key and value - IBM MQ Sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/jms-ibm-mq-sink.kamelet.yaml | 29 ++++++++++-------------------
 1 file changed, 10 insertions(+), 19 deletions(-)

diff --git a/kamelets/jms-ibm-mq-sink.kamelet.yaml b/kamelets/jms-ibm-mq-sink.kamelet.yaml
index d1f8edc1..330b6fe0 100644
--- a/kamelets/jms-ibm-mq-sink.kamelet.yaml
+++ b/kamelets/jms-ibm-mq-sink.kamelet.yaml
@@ -101,25 +101,16 @@ spec:
     beans:
       - name: wmqConnectionFactory
         type: "#class:com.ibm.mq.jms.MQConnectionFactory"
-        property:
-          - key: XMSC_WMQ_HOST_NAME
-            value: '{{serverName}}'
-          - key: XMSC_WMQ_PORT
-            value: '{{serverPort}}'
-          - key: XMSC_WMQ_CHANNEL
-            value: '{{channel}}'
-          - key: XMSC_WMQ_QUEUE_MANAGER
-            value: '{{queueManager}}'
-          - key: XMSC_WMQ_CONNECTION_MODE
-            value: 1
-          - key: XMSC_USERID
-            value: '{{username}}'
-          - key: XMSC_PASSWORD
-            value: '{{password}}'
-          - key: XMSC_CLIENT_ID
-            value: '{{?clientId}}'
-          - key: XMSC_WMQ_SSL_CIPHER_SUITE
-            value: '{{?sslCipherSuite}}'
+        properties:
+          XMSC_WMQ_HOST_NAME: '{{serverName}}'
+          XMSC_WMQ_PORT: '{{serverPort}}'
+          XMSC_WMQ_CHANNEL: '{{channel}}'
+          XMSC_WMQ_QUEUE_MANAGER: '{{queueManager}}'
+          XMSC_WMQ_CONNECTION_MODE: 1
+          XMSC_USERID: '{{username}}'
+          XMSC_PASSWORD: '{{password}}'
+          XMSC_CLIENT_ID: '{{?clientId}}'
+          XMSC_WMQ_SSL_CIPHER_SUITE: '{{?sslCipherSuite}}'
     from:
       uri: "kamelet:source"
       steps:


[camel-kamelets] 11/12: Bean: Use properties instead of property with key and value - Kafka not secured sink

Posted by ac...@apache.org.
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 4853b96404a169b640cf7000574ef136b22317d9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 15:26:26 2023 +0200

    Bean: Use properties instead of property with key and value - Kafka not secured sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/kafka-not-secured-sink.kamelet.yaml | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/kamelets/kafka-not-secured-sink.kamelet.yaml b/kamelets/kafka-not-secured-sink.kamelet.yaml
index 9a17c380..67f3a4cf 100644
--- a/kamelets/kafka-not-secured-sink.kamelet.yaml
+++ b/kamelets/kafka-not-secured-sink.kamelet.yaml
@@ -64,15 +64,11 @@ spec:
     beans:
       - name: deDuplicateHeaders
         type: "#class:org.apache.camel.kamelets.utils.headers.DeDuplicateNamingHeaders"
-        property:
-          - key: prefix
-            value: 'kafka.'
-          - key: renamingPrefix
-            value: 'kafka.'
-          - key: mode
-            value: 'filtering'
-          - key: selectedHeaders
-            value: 'kafka.key,kafka.topic,kafka.override_topic'
+        properties:
+          prefix: 'kafka.'
+          renamingPrefix: 'kafka.'
+          mode: 'filtering'
+          selectedHeaders: 'kafka.key,kafka.topic,kafka.override_topic'
     from:
       uri: "kamelet:source"
       steps:


[camel-kamelets] 10/12: Bean: Use properties instead of property with key and value - Kafka not secured source

Posted by ac...@apache.org.
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 af88ebd30af27e851112da3be9a8c834d9eb63d8
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 15:25:01 2023 +0200

    Bean: Use properties instead of property with key and value - Kafka not secured source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../main/resources/kamelets/kafka-not-secured-source.kamelet.yaml    | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-not-secured-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-not-secured-source.kamelet.yaml
index 3579cffa..f78807c2 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-not-secured-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-not-secured-source.kamelet.yaml
@@ -102,9 +102,8 @@ spec:
     beans:
       - name: kafkaHeaderDeserializer
         type: "#class:org.apache.camel.kamelets.utils.serialization.kafka.KafkaHeaderDeserializer"
-        property:
-          - key: enabled
-            value: '{{deserializeHeaders}}'
+        properties:
+          enabled: '{{deserializeHeaders}}'
     from:
       uri: "kafka:{{topic}}"
       parameters:


[camel-kamelets] 09/12: Bean: Use properties instead of property with key and value - Kafka not secured source

Posted by ac...@apache.org.
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 447453e6bb860577ac40003288d7bab5d7dfaea1
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 15:22:52 2023 +0200

    Bean: Use properties instead of property with key and value - Kafka not secured source
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 kamelets/kafka-not-secured-source.kamelet.yaml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/kamelets/kafka-not-secured-source.kamelet.yaml b/kamelets/kafka-not-secured-source.kamelet.yaml
index 3579cffa..f78807c2 100644
--- a/kamelets/kafka-not-secured-source.kamelet.yaml
+++ b/kamelets/kafka-not-secured-source.kamelet.yaml
@@ -102,9 +102,8 @@ spec:
     beans:
       - name: kafkaHeaderDeserializer
         type: "#class:org.apache.camel.kamelets.utils.serialization.kafka.KafkaHeaderDeserializer"
-        property:
-          - key: enabled
-            value: '{{deserializeHeaders}}'
+        properties:
+          enabled: '{{deserializeHeaders}}'
     from:
       uri: "kafka:{{topic}}"
       parameters:


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

Posted by ac...@apache.org.
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:


[camel-kamelets] 12/12: Bean: Use properties instead of property with key and value - Kafka not secured sink

Posted by ac...@apache.org.
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 42266637633c3f05f068bbd85f80d66ec44fe4ea
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 15:28:29 2023 +0200

    Bean: Use properties instead of property with key and value - Kafka not secured sink
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../resources/kamelets/kafka-not-secured-sink.kamelet.yaml | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/kafka-not-secured-sink.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/kafka-not-secured-sink.kamelet.yaml
index 9a17c380..67f3a4cf 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/kafka-not-secured-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/kafka-not-secured-sink.kamelet.yaml
@@ -64,15 +64,11 @@ spec:
     beans:
       - name: deDuplicateHeaders
         type: "#class:org.apache.camel.kamelets.utils.headers.DeDuplicateNamingHeaders"
-        property:
-          - key: prefix
-            value: 'kafka.'
-          - key: renamingPrefix
-            value: 'kafka.'
-          - key: mode
-            value: 'filtering'
-          - key: selectedHeaders
-            value: 'kafka.key,kafka.topic,kafka.override_topic'
+        properties:
+          prefix: 'kafka.'
+          renamingPrefix: 'kafka.'
+          mode: 'filtering'
+          selectedHeaders: 'kafka.key,kafka.topic,kafka.override_topic'
     from:
       uri: "kamelet:source"
       steps:


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

Posted by ac...@apache.org.
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: