This is an automated email from the ASF dual-hosted git repository. davsclaus pushed a commit to branch ra in repository https://gitbox.apache.org/repos/asf/camel.git
commit 5f28ed012c3998034121001e71b5156c556efbb1 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Sun May 26 11:40:16 2024 +0200 CAMEL-20798: Add RemoteAddress to endpoints so they can tell the url/hostname etc for the system it connects. This is needed for better monitoring, tracing and management. Add this information into camel-tracer as tags. --- .../org/apache/camel/component/knative/http/KnativeHttpConsumer.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/components/camel-knative/camel-knative-http/src/main/java/org/apache/camel/component/knative/http/KnativeHttpConsumer.java b/components/camel-knative/camel-knative-http/src/main/java/org/apache/camel/component/knative/http/KnativeHttpConsumer.java index 19862f53002..c77df64579f 100644 --- a/components/camel-knative/camel-knative-http/src/main/java/org/apache/camel/component/knative/http/KnativeHttpConsumer.java +++ b/components/camel-knative/camel-knative-http/src/main/java/org/apache/camel/component/knative/http/KnativeHttpConsumer.java @@ -84,6 +84,11 @@ public class KnativeHttpConsumer extends DefaultConsumer { this.preallocateBodyBuffer = true; } + @Override + public boolean isHostedService() { + return true; + } + @ManagedAttribute(description = "Path for accessing the Knative service") public String getPath() { return path;