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 07:57:18 UTC
[camel-kamelets] 04/08: Bean: Use properties instead of property with key and value - Insert Field Action
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch 1475-2
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git
commit 7ff59774fac82dc84924938282dda369c461819e
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 24 09:45:58 2023 +0200
Bean: Use properties instead of property with key and value - Insert Field Action
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
.../src/main/resources/kamelets/insert-field-action.kamelet.yaml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/library/camel-kamelets/src/main/resources/kamelets/insert-field-action.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/insert-field-action.kamelet.yaml
index 614624d4..ca78f9b4 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/insert-field-action.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/insert-field-action.kamelet.yaml
@@ -58,11 +58,9 @@ spec:
beans:
- name: insertField
type: "#class:org.apache.camel.kamelets.utils.transform.InsertField"
- property:
- - key: field
- value: '{{field}}'
- - key: value
- value: '{{value}}'
+ properties:
+ field: '{{field}}'
+ value: '{{value}}'
from:
uri: kamelet:source
steps: