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/07/20 14:47:30 UTC

[camel-kamelets] 02/03: Http Sink Kamelet: Remove header CamelHttpUri in case is set from source

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 1634f7b6c22d7ce4fdba23d4864ed50b8b7a22fc
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Tue Jul 20 16:43:32 2021 +0200

    Http Sink Kamelet: Remove header CamelHttpUri in case is set from source
---
 http-secured-sink.kamelet.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/http-secured-sink.kamelet.yaml b/http-secured-sink.kamelet.yaml
index a399ce0..e231beb 100644
--- a/http-secured-sink.kamelet.yaml
+++ b/http-secured-sink.kamelet.yaml
@@ -57,6 +57,8 @@ spec:
     from:
       uri: kamelet:source
       steps:
+      - remove-header:
+          header-name: CamelHttpUri
       - set-header:
           name: CamelHttpMethod
           constant: "{{method}}"