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/06 14:15:56 UTC

[camel-kamelets] 02/09: The remove-header-name EIP should use name instead of header-name

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

acosentino pushed a commit to branch remove-header-fix
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit aadaf2755ea8cf7321e97f2f810065e7f2409834
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Dec 6 15:01:49 2021 +0100

    The remove-header-name EIP should use name instead of header-name
---
 .../src/main/resources/kamelets/earthquake-source.kamelet.yaml          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/camel-kamelets/src/main/resources/kamelets/earthquake-source.kamelet.yaml b/library/camel-kamelets/src/main/resources/kamelets/earthquake-source.kamelet.yaml
index 28b51b5..e5c8d33 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/earthquake-source.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/earthquake-source.kamelet.yaml
@@ -82,7 +82,7 @@ spec:
           constant: GET
       - tod: "https://earthquake.usgs.gov/fdsnws/event/1/query?format=geojson&updatedafter=${exchangeProperty.lastUpdate}&orderby=time-asc"
       - remove-header:
-          header-name: CamelHttpMethod
+          name: CamelHttpMethod
       - unmarshal:
           json: {}
       - set-property: