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

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


The following commit(s) were added to refs/heads/camel-3.20.x by this push:
     new ec6520f8d2b CAMEL-19151: Better doc on ignoreInvalidEndpoint on EIP
ec6520f8d2b is described below

commit ec6520f8d2b2e854c21d831a5abea4fcf4673bbd
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Mar 15 10:38:52 2023 +0100

    CAMEL-19151: Better doc on ignoreInvalidEndpoint on EIP
---
 .../resources/org/apache/camel/catalog/models/toD.json         |  2 +-
 .../resources/org/apache/camel/catalog/models/wireTap.json     |  2 +-
 .../src/generated/resources/org/apache/camel/model/toD.json    |  2 +-
 .../generated/resources/org/apache/camel/model/wireTap.json    |  2 +-
 .../main/java/org/apache/camel/model/ToDynamicDefinition.java  | 10 ++++------
 5 files changed, 8 insertions(+), 10 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/toD.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/toD.json
index d91b871c15b..f4416aa3a11 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/toD.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/toD.json
@@ -15,7 +15,7 @@
     "uri": { "kind": "attribute", "displayName": "Uri", "required": true, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "The uri of the endpoint to 
send to. The uri can be dynamic computed using the 
org.apache.camel.language.simple.SimpleLanguage expression." },
     "pattern": { "kind": "attribute", "displayName": "Pattern", "label": 
"advanced", "required": false, "type": "enum", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut", 
"InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the optional ExchangePattern used to invoke this endpoint" 
},
     "cacheSize": { "kind": "attribute", "displayName": "Cache Size", "label": 
"advanced", "required": false, "type": "integer", "javaType": 
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the maximum size used by the 
org.apache.camel.spi.ProducerCache which is used to cache and reuse producers 
when using this recipient list, when uris are reused. Beware that when using 
dynamic endpoints then it affects how well the cache can be utilized [...]
-    "ignoreInvalidEndpoint": { "kind": "attribute", "displayName": "Ignore 
Invalid Endpoint", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Ignore the invalidate 
endpoint exception when try to create a producer with that endpoint" },
+    "ignoreInvalidEndpoint": { "kind": "attribute", "displayName": "Ignore 
Invalid Endpoint", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "For dynamic endpoints 
then this option can be used to ignore invalid dynamic endpoints. This option 
is only in use if dynamic is enabled and the endpoint uri is also dynamic 
(using ${ } style)" },
     "allowOptimisedComponents": { "kind": "attribute", "displayName": "Allow 
Optimised Components", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether to allow 
components to optimise toD if they are org.apache.camel.spi.SendDynamicAware ." 
},
     "autoStartComponents": { "kind": "attribute", "displayName": "Auto Start 
Components", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to auto startup 
components when toD is starting up." },
     "disabled": { "kind": "attribute", "displayName": "Disabled", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to disable this EIP from the 
route during build time. Once an EIP has been disabled then it cannot be 
enabled later at runtime." },
diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/wireTap.json
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/wireTap.json
index 7527935ebba..0ba9831e418 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/wireTap.json
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/wireTap.json
@@ -19,7 +19,7 @@
     "uri": { "kind": "attribute", "displayName": "Uri", "required": true, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "The uri of the endpoint to 
send to. The uri can be dynamic computed using the 
org.apache.camel.language.simple.SimpleLanguage expression." },
     "pattern": { "kind": "attribute", "displayName": "Pattern", "label": 
"advanced", "required": false, "type": "enum", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut", 
"InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the optional ExchangePattern used to invoke this endpoint" 
},
     "cacheSize": { "kind": "attribute", "displayName": "Cache Size", "label": 
"advanced", "required": false, "type": "integer", "javaType": 
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the maximum size used by the 
org.apache.camel.spi.ProducerCache which is used to cache and reuse producers 
when using this recipient list, when uris are reused. Beware that when using 
dynamic endpoints then it affects how well the cache can be utilized [...]
-    "ignoreInvalidEndpoint": { "kind": "attribute", "displayName": "Ignore 
Invalid Endpoint", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Ignore the invalidate 
endpoint exception when try to create a producer with that endpoint" },
+    "ignoreInvalidEndpoint": { "kind": "attribute", "displayName": "Ignore 
Invalid Endpoint", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "For dynamic endpoints 
then this option can be used to ignore invalid dynamic endpoints. This option 
is only in use if dynamic is enabled and the endpoint uri is also dynamic 
(using ${ } style)" },
     "allowOptimisedComponents": { "kind": "attribute", "displayName": "Allow 
Optimised Components", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether to allow 
components to optimise toD if they are org.apache.camel.spi.SendDynamicAware ." 
},
     "autoStartComponents": { "kind": "attribute", "displayName": "Auto Start 
Components", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to auto startup 
components when toD is starting up." },
     "disabled": { "kind": "attribute", "displayName": "Disabled", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to disable this EIP from the 
route during build time. Once an EIP has been disabled then it cannot be 
enabled later at runtime." },
diff --git 
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/toD.json 
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/toD.json
index d91b871c15b..f4416aa3a11 100644
--- 
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/toD.json
+++ 
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/toD.json
@@ -15,7 +15,7 @@
     "uri": { "kind": "attribute", "displayName": "Uri", "required": true, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "The uri of the endpoint to 
send to. The uri can be dynamic computed using the 
org.apache.camel.language.simple.SimpleLanguage expression." },
     "pattern": { "kind": "attribute", "displayName": "Pattern", "label": 
"advanced", "required": false, "type": "enum", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut", 
"InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the optional ExchangePattern used to invoke this endpoint" 
},
     "cacheSize": { "kind": "attribute", "displayName": "Cache Size", "label": 
"advanced", "required": false, "type": "integer", "javaType": 
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the maximum size used by the 
org.apache.camel.spi.ProducerCache which is used to cache and reuse producers 
when using this recipient list, when uris are reused. Beware that when using 
dynamic endpoints then it affects how well the cache can be utilized [...]
-    "ignoreInvalidEndpoint": { "kind": "attribute", "displayName": "Ignore 
Invalid Endpoint", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Ignore the invalidate 
endpoint exception when try to create a producer with that endpoint" },
+    "ignoreInvalidEndpoint": { "kind": "attribute", "displayName": "Ignore 
Invalid Endpoint", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "For dynamic endpoints 
then this option can be used to ignore invalid dynamic endpoints. This option 
is only in use if dynamic is enabled and the endpoint uri is also dynamic 
(using ${ } style)" },
     "allowOptimisedComponents": { "kind": "attribute", "displayName": "Allow 
Optimised Components", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether to allow 
components to optimise toD if they are org.apache.camel.spi.SendDynamicAware ." 
},
     "autoStartComponents": { "kind": "attribute", "displayName": "Auto Start 
Components", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to auto startup 
components when toD is starting up." },
     "disabled": { "kind": "attribute", "displayName": "Disabled", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to disable this EIP from the 
route during build time. Once an EIP has been disabled then it cannot be 
enabled later at runtime." },
diff --git 
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/wireTap.json
 
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/wireTap.json
index 7527935ebba..0ba9831e418 100644
--- 
a/core/camel-core-model/src/generated/resources/org/apache/camel/model/wireTap.json
+++ 
b/core/camel-core-model/src/generated/resources/org/apache/camel/model/wireTap.json
@@ -19,7 +19,7 @@
     "uri": { "kind": "attribute", "displayName": "Uri", "required": true, 
"type": "string", "javaType": "java.lang.String", "deprecated": false, 
"autowired": false, "secret": false, "description": "The uri of the endpoint to 
send to. The uri can be dynamic computed using the 
org.apache.camel.language.simple.SimpleLanguage expression." },
     "pattern": { "kind": "attribute", "displayName": "Pattern", "label": 
"advanced", "required": false, "type": "enum", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut", 
"InOptionalOut" ], "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the optional ExchangePattern used to invoke this endpoint" 
},
     "cacheSize": { "kind": "attribute", "displayName": "Cache Size", "label": 
"advanced", "required": false, "type": "integer", "javaType": 
"java.lang.Integer", "deprecated": false, "autowired": false, "secret": false, 
"description": "Sets the maximum size used by the 
org.apache.camel.spi.ProducerCache which is used to cache and reuse producers 
when using this recipient list, when uris are reused. Beware that when using 
dynamic endpoints then it affects how well the cache can be utilized [...]
-    "ignoreInvalidEndpoint": { "kind": "attribute", "displayName": "Ignore 
Invalid Endpoint", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "Ignore the invalidate 
endpoint exception when try to create a producer with that endpoint" },
+    "ignoreInvalidEndpoint": { "kind": "attribute", "displayName": "Ignore 
Invalid Endpoint", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": false, "description": "For dynamic endpoints 
then this option can be used to ignore invalid dynamic endpoints. This option 
is only in use if dynamic is enabled and the endpoint uri is also dynamic 
(using ${ } style)" },
     "allowOptimisedComponents": { "kind": "attribute", "displayName": "Allow 
Optimised Components", "label": "advanced", "required": false, "type": 
"boolean", "javaType": "java.lang.Boolean", "deprecated": false, "autowired": 
false, "secret": false, "defaultValue": true, "description": "Whether to allow 
components to optimise toD if they are org.apache.camel.spi.SendDynamicAware ." 
},
     "autoStartComponents": { "kind": "attribute", "displayName": "Auto Start 
Components", "label": "advanced", "required": false, "type": "boolean", 
"javaType": "java.lang.Boolean", "deprecated": false, "autowired": false, 
"secret": false, "defaultValue": true, "description": "Whether to auto startup 
components when toD is starting up." },
     "disabled": { "kind": "attribute", "displayName": "Disabled", "label": 
"advanced", "required": false, "type": "boolean", "javaType": 
"java.lang.Boolean", "deprecated": false, "autowired": false, "secret": false, 
"defaultValue": false, "description": "Whether to disable this EIP from the 
route during build time. Once an EIP has been disabled then it cannot be 
enabled later at runtime." },
diff --git 
a/core/camel-core-model/src/main/java/org/apache/camel/model/ToDynamicDefinition.java
 
b/core/camel-core-model/src/main/java/org/apache/camel/model/ToDynamicDefinition.java
index 4ffdf887e68..e1bc777c781 100644
--- 
a/core/camel-core-model/src/main/java/org/apache/camel/model/ToDynamicDefinition.java
+++ 
b/core/camel-core-model/src/main/java/org/apache/camel/model/ToDynamicDefinition.java
@@ -164,18 +164,16 @@ public class ToDynamicDefinition extends 
NoOutputDefinition<ToDynamicDefinition>
     }
 
     /**
-     * Ignore the invalidate endpoint exception when try to create a producer 
with that endpoint
-     *
-     * @return the builder
+     * For dynamic endpoints then this option can be used to ignore invalid 
dynamic endpoints. This option is only in use
+     * if dynamic is enabled and the endpoint uri is also dynamic (using ${ } 
style)
      */
     public ToDynamicDefinition ignoreInvalidEndpoint(boolean 
ignoreInvalidEndpoint) {
         return ignoreInvalidEndpoint(Boolean.toString(ignoreInvalidEndpoint));
     }
 
     /**
-     * Ignore the invalidate endpoint exception when try to create a producer 
with that endpoint
-     *
-     * @return the builder
+     * For dynamic endpoints then this option can be used to ignore invalid 
dynamic endpoints. This option is only in use
+     * if dynamic is enabled and the endpoint uri is also dynamic (using ${ } 
style)
      */
     public ToDynamicDefinition ignoreInvalidEndpoint(String 
ignoreInvalidEndpoint) {
         setIgnoreInvalidEndpoint(ignoreInvalidEndpoint);

Reply via email to