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

davsclaus pushed a commit to branch remote
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 62a500c0b54b16bdb6bae42033cc3fcc354d9545
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue Dec 26 10:52:43 2023 +0100

    CAMEL-18559: Add remote to @UriEndpoint so we can know if the component 
does remote communication or not.
---
 .../src/generated/java/org/apache/camel/spi/UriEndpoint.java         | 5 +++--
 .../src/main/java/org/apache/camel/spi/UriEndpoint.java              | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git 
a/core/camel-api/src/generated/java/org/apache/camel/spi/UriEndpoint.java 
b/core/camel-api/src/generated/java/org/apache/camel/spi/UriEndpoint.java
index e018fe9569e..e801ce372d2 100644
--- a/core/camel-api/src/generated/java/org/apache/camel/spi/UriEndpoint.java
+++ b/core/camel-api/src/generated/java/org/apache/camel/spi/UriEndpoint.java
@@ -198,7 +198,8 @@ public @interface UriEndpoint {
     String headersNameProvider() default "";
 
     /**
-     * Whether the component does remote communication such as connecting to 
an external system over the network.
+     * Whether the component does remote communication such as connecting to 
an external system over the network. Set
+     * this to false for internal components such as log, message 
transformations and other kinds.
      */
-    boolean remote() default false;
+    boolean remote() default true;
 }
diff --git 
a/tooling/spi-annotations/src/main/java/org/apache/camel/spi/UriEndpoint.java 
b/tooling/spi-annotations/src/main/java/org/apache/camel/spi/UriEndpoint.java
index e018fe9569e..e801ce372d2 100644
--- 
a/tooling/spi-annotations/src/main/java/org/apache/camel/spi/UriEndpoint.java
+++ 
b/tooling/spi-annotations/src/main/java/org/apache/camel/spi/UriEndpoint.java
@@ -198,7 +198,8 @@ public @interface UriEndpoint {
     String headersNameProvider() default "";
 
     /**
-     * Whether the component does remote communication such as connecting to 
an external system over the network.
+     * Whether the component does remote communication such as connecting to 
an external system over the network. Set
+     * this to false for internal components such as log, message 
transformations and other kinds.
      */
-    boolean remote() default false;
+    boolean remote() default true;
 }

Reply via email to