Skip to content

Commit

Permalink
The remove-property EIP should use name instead of property-name
Browse files Browse the repository at this point in the history
  • Loading branch information
oscerd committed Dec 7, 2021
1 parent dc285b0 commit 4695c71
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ 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
- remove-header:
name: "Content-Type"
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ spec:
unmarshalTypeName: com.fasterxml.jackson.databind.JsonNode
schemaResolver: "#class:org.apache.camel.kamelets.utils.serialization.InflightProtobufSchemaResolver"
- remove-property:
property-name: schema
name: schema
- remove-header:
name: "Content-Type"
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ spec:
unmarshalTypeName: com.fasterxml.jackson.databind.JsonNode
schemaResolver: "#class:org.apache.camel.kamelets.utils.serialization.InflightProtobufSchemaResolver"
- remove-property:
property-name: schema
name: schema
- set-header:
name: "Content-Type"
constant: "application/protobuf"

0 comments on commit 4695c71

Please sign in to comment.