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:57 UTC

(camel) 03/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 03bdbd54d80f4d8ae55ab14fa5ca79c6697653b1
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Tue Dec 26 10:14:16 2023 +0100

    CAMEL-18559: Add remote to @UriEndpoint so we can know if the component does remote communication or not.
---
 .../org/apache/camel/maven/packaging/EndpointSchemaGeneratorMojo.java    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/EndpointSchemaGeneratorMojo.java b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/EndpointSchemaGeneratorMojo.java
index ca05171c1a2..197eff46884 100644
--- a/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/EndpointSchemaGeneratorMojo.java
+++ b/tooling/maven/camel-package-maven-plugin/src/main/java/org/apache/camel/maven/packaging/EndpointSchemaGeneratorMojo.java
@@ -813,6 +813,7 @@ public class EndpointSchemaGeneratorMojo extends AbstractGeneratorMojo {
         model.setConsumerOnly(uriEndpoint.consumerOnly());
         model.setProducerOnly(uriEndpoint.producerOnly());
         model.setLenientProperties(uriEndpoint.lenientProperties());
+        model.setRemote(uriEndpoint.remote());
         model.setAsync(loadClass("org.apache.camel.AsyncEndpoint").isAssignableFrom(endpointClassElement));
         model.setApi(loadClass("org.apache.camel.ApiEndpoint").isAssignableFrom(endpointClassElement));
         model.setApiSyntax(uriEndpoint.apiSyntax());