You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2020/09/28 08:51:49 UTC
[camel] branch master updated: CAMEL-14499: Optimize to avoid using
camel-core-catalog for SendDynamicAware for http components
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 8129ef7 CAMEL-14499: Optimize to avoid using camel-core-catalog for SendDynamicAware for http components
8129ef7 is described below
commit 8129ef742792d74071acfe085c24d51af0f7e32b
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Mon Sep 28 10:51:26 2020 +0200
CAMEL-14499: Optimize to avoid using camel-core-catalog for SendDynamicAware for http components
---
.../main/java/org/apache/camel/http/base/HttpSendDynamicAware.java | 4 ----
1 file changed, 4 deletions(-)
diff --git a/components/camel-http-base/src/main/java/org/apache/camel/http/base/HttpSendDynamicAware.java b/components/camel-http-base/src/main/java/org/apache/camel/http/base/HttpSendDynamicAware.java
index 8791f63..bb69860 100644
--- a/components/camel-http-base/src/main/java/org/apache/camel/http/base/HttpSendDynamicAware.java
+++ b/components/camel-http-base/src/main/java/org/apache/camel/http/base/HttpSendDynamicAware.java
@@ -71,10 +71,6 @@ public class HttpSendDynamicAware extends SendDynamicAwareSupport {
if (path != null) {
params.remove("httpUri");
params.remove("httpURI");
- params.remove("path");
- // httpUri/httpURI contains the host and path, so replace it with just the host as the context-path is dynamic
- params.remove("httpUri");
- params.remove("httpURI");
if ("netty-http".equals(getScheme())) {
// the netty-http stores host,port etc in other fields than httpURI so we can just remove the path parameter
params.remove("path");