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

lburgazzoli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git

commit b60372abb7ba3d966297b7a93ea3029edf0e6138
Author: nferraro <ni.ferr...@gmail.com>
AuthorDate: Thu Nov 29 13:08:53 2018 +0000

    fix netty header
---
 .../java/org/apache/camel/component/knative/KnativeEndpoint.java     | 5 +++++
 1 file changed, 5 insertions(+)

diff --git 
a/runtime/camel-knative/src/main/java/org/apache/camel/component/knative/KnativeEndpoint.java
 
b/runtime/camel-knative/src/main/java/org/apache/camel/component/knative/KnativeEndpoint.java
index c1b92cd..ce50beb 100644
--- 
a/runtime/camel-knative/src/main/java/org/apache/camel/component/knative/KnativeEndpoint.java
+++ 
b/runtime/camel-knative/src/main/java/org/apache/camel/component/knative/KnativeEndpoint.java
@@ -237,6 +237,11 @@ public class KnativeEndpoint extends DefaultEndpoint 
implements DelegateEndpoint
                 );
             }
 
+            uri = URISupport.appendParametersToURI(
+                    uri,
+                    CollectionHelper.mapOf("useRelativePath", "true")
+            );
+
             return context.getEndpoint(uri);
         } catch (Exception e) {
             throw ObjectHelper.wrapRuntimeCamelException(e);

Reply via email to