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 2023/12/26 10:29:55 UTC

(camel) 01/07: CAMEL-18559: Add remote to @UriEndpoint so we can know if the component does remote communication or not.

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 31d33ee0d72d83562e444211ca8869be3ff2f073
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Dec 26 10:11:05 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, 10 insertions(+)

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 f4d4855147d..e018fe9569e 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
@@ -196,4 +196,9 @@ public @interface UriEndpoint {
      * </pre>
      */
     String headersNameProvider() default "";
+
+    /**
+     * Whether the component does remote communication such as connecting to an external system over the network.
+     */
+    boolean remote() default false;
 }
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 f4d4855147d..e018fe9569e 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
@@ -196,4 +196,9 @@ public @interface UriEndpoint {
      * </pre>
      */
     String headersNameProvider() default "";
+
+    /**
+     * Whether the component does remote communication such as connecting to an external system over the network.
+     */
+    boolean remote() default false;
 }