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

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


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

commit a055e24767dce1b91520cab26ce216181bbf8065
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 dbc219dd3f9..0eef3d46408 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" ], 
"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 260b0fbbdde..74b500009cb 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" ], 
"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 dbc219dd3f9..0eef3d46408 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" ], 
"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 260b0fbbdde..74b500009cb 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" ], 
"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 17f8b1e9ccd..878f4c27fd1 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