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 c4df77e1464251e8a33da234b3beea9a2e6063a9
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Dec 7 09:57:24 2021 +0100

    The remove-property EIP should use name instead of property-name
---
 kamelets/avro-serialize-action.kamelet.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kamelets/avro-serialize-action.kamelet.yaml 
b/kamelets/avro-serialize-action.kamelet.yaml
index dc09de3..643c1c2 100644
--- a/kamelets/avro-serialize-action.kamelet.yaml
+++ b/kamelets/avro-serialize-action.kamelet.yaml
@@ -68,9 +68,9 @@ spec:
             unmarshalTypeName: com.fasterxml.jackson.databind.JsonNode
             schemaResolver: 
"#class:org.apache.camel.kamelets.utils.serialization.InflightAvroSchemaResolver"
       - remove-property:
-          property-name: schema
+          name: schema
       - remove-property:
-          property-name: validate
+          name: validate
       - set-header:
           name: "Content-Type"
           constant: "application/avro"

Reply via email to