[ 
https://issues.apache.org/jira/browse/CAMEL-15314?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-15314:
--------------------------------
    Description: 
When rebuilding the project we may have public static not in the dsl

{code}
diff --git 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 6a984b15cd3..b9421b525bd 100644
--- 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -1127,7 +1127,7 @@ public class StaticEndpointBuilders {
      *
      * @param path label
      */
-    static 
org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder
 aws2Iam(
+    public static 
org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder
 aws2Iam(
             String path) {
         return 
org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.endpointBuilder("aws2-iam",
 path);
     }
@@ -1148,7 +1148,7 @@ public class StaticEndpointBuilders {
      * instead of the default name
      * @param path label
      */
-    static 
org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder
 aws2Iam(
+    public static 
org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder
 aws2Iam(
             String componentName,
             String path) {
         return 
org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.endpointBuilder(componentName,
 path);
@@ -15471,7 +15471,7 @@ public class StaticEndpointBuilders {
      *
      * @param path serverUrls/path
      */
-    public static 
org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
 zookeeper(
+    static 
org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
 zookeeper(
             String path) {
         return 
org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.endpointBuilder("zookeeper",
 path);
     }
@@ -15495,7 +15495,7 @@ public class StaticEndpointBuilders {
      * instead of the default name
      * @param path serverUrls/path
      */
-    public static 
org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
 zookeeper(
+    static 
org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
 zookeeper(
             String componentName,
             String path) {
         return 
org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.endpointBuilder(componentName,
 path);
{code}

  was:
When rebuilding the project we may have public static not in the dsl

diff --git 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 6a984b15cd3..b9421b525bd 100644
--- 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -1127,7 +1127,7 @@ public class StaticEndpointBuilders {
      *
      * @param path label
      */
-    static 
org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder
 aws2Iam(
+    public static 
org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder
 aws2Iam(
             String path) {
         return 
org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.endpointBuilder("aws2-iam",
 path);
     }
@@ -1148,7 +1148,7 @@ public class StaticEndpointBuilders {
      * instead of the default name
      * @param path label
      */
-    static 
org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder
 aws2Iam(
+    public static 
org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder
 aws2Iam(
             String componentName,
             String path) {
         return 
org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.endpointBuilder(componentName,
 path);
@@ -15471,7 +15471,7 @@ public class StaticEndpointBuilders {
      *
      * @param path serverUrls/path
      */
-    public static 
org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
 zookeeper(
+    static 
org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
 zookeeper(
             String path) {
         return 
org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.endpointBuilder("zookeeper",
 path);
     }
@@ -15495,7 +15495,7 @@ public class StaticEndpointBuilders {
      * instead of the default name
      * @param path serverUrls/path
      */
-    public static 
org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
 zookeeper(
+    static 
org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
 zookeeper(
             String componentName,
             String path) {
         return 
org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.endpointBuilder(componentName,
 path);


> camel-endpointdsl - StaticEndpointBuilders - may loose public 
> --------------------------------------------------------------
>
>                 Key: CAMEL-15314
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15314
>             Project: Camel
>          Issue Type: Task
>          Components: build system
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.5.0
>
>
> When rebuilding the project we may have public static not in the dsl
> {code}
> diff --git 
> a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
>  
> b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
> index 6a984b15cd3..b9421b525bd 100644
> --- 
> a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
> +++ 
> b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
> @@ -1127,7 +1127,7 @@ public class StaticEndpointBuilders {
>       *
>       * @param path label
>       */
> -    static 
> org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder
>  aws2Iam(
> +    public static 
> org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder
>  aws2Iam(
>              String path) {
>          return 
> org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.endpointBuilder("aws2-iam",
>  path);
>      }
> @@ -1148,7 +1148,7 @@ public class StaticEndpointBuilders {
>       * instead of the default name
>       * @param path label
>       */
> -    static 
> org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder
>  aws2Iam(
> +    public static 
> org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.IAM2EndpointBuilder
>  aws2Iam(
>              String componentName,
>              String path) {
>          return 
> org.apache.camel.builder.endpoint.dsl.IAM2EndpointBuilderFactory.endpointBuilder(componentName,
>  path);
> @@ -15471,7 +15471,7 @@ public class StaticEndpointBuilders {
>       *
>       * @param path serverUrls/path
>       */
> -    public static 
> org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
>  zookeeper(
> +    static 
> org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
>  zookeeper(
>              String path) {
>          return 
> org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.endpointBuilder("zookeeper",
>  path);
>      }
> @@ -15495,7 +15495,7 @@ public class StaticEndpointBuilders {
>       * instead of the default name
>       * @param path serverUrls/path
>       */
> -    public static 
> org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
>  zookeeper(
> +    static 
> org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.ZooKeeperEndpointBuilder
>  zookeeper(
>              String componentName,
>              String path) {
>          return 
> org.apache.camel.builder.endpoint.dsl.ZooKeeperEndpointBuilderFactory.endpointBuilder(componentName,
>  path);
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to