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 2021/12/07 09:12:11 UTC
[camel-kamelets] 02/05: The remove-property EIP should use name instead of property-name
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 <an...@gmail.com>
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"