diff --git a/http-ssl/ssl-client/src/main/java/org/apache/camel/springboot/example/httpssl/HttpSslClientRouter.java b/http-ssl/ssl-client/src/main/java/org/apache/camel/springboot/example/httpssl/HttpSslClientRouter.java index 3b16611ee..302856d5e 100644 --- a/http-ssl/ssl-client/src/main/java/org/apache/camel/springboot/example/httpssl/HttpSslClientRouter.java +++ b/http-ssl/ssl-client/src/main/java/org/apache/camel/springboot/example/httpssl/HttpSslClientRouter.java @@ -31,6 +31,7 @@ public void configure() throws Exception { .to("direct:call-ssl-server"); from("direct:call-ssl-server") - .to("https://localhost:8443/ping?bridgeEndpoint=true"); + .removeHeaders("CamelHttp*") + .to("https://localhost:8443/ping"); } }