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 779d7d60d362 Correct three option descriptions that misdescribe the
option (#29646)
779d7d60d362 is described below
commit 779d7d60d362104300876db7b7b8e6e826b9dd91
Author: dhairya05 <[email protected]>
AuthorDate: Thu Nov 12 12:03:55 2026 +0530
Correct three option descriptions that misdescribe the option (#29646)
* camel-file: readLockIdempotentReleaseDelay is a number of millis, not a
flag
The option is an int and its value is the delay, but the description
opened with "Whether to delay the release task for a period of millis",
which reads as a boolean. The endpoint DSL paragraph is re-wrapped at
the generator's width, not patched in place.
* camel-influxdb2: the operation option is an insert or a ping, not "an
insert of ping"
* camel-rest-openapi: add the missing space in the missingOperation
description
* camel-rest-openapi: fix the same missingOperation wording on the strategy
interface
setMissingOperation/getMissingOperation carried "fail,ignore or return a
dummy response"; the enum value is mock, so it now reads "fail, ignore
or return a mock response" like the option description.
---
.../org/apache/camel/catalog/components/file.json | 2 +-
.../apache/camel/catalog/components/influxdb2.json | 2 +-
.../camel/catalog/components/rest-openapi.json | 4 ++--
.../org/apache/camel/component/file/file.json | 2 +-
.../camel/component/file/GenericFileEndpoint.java | 4 ++--
...dempotentChangedRepositoryReadLockStrategy.java | 2 +-
.../FileIdempotentRepositoryReadLockStrategy.java | 2 +-
.../camel/component/influxdb2/influxdb2.json | 2 +-
.../component/influxdb2/InfluxDb2Endpoint.java | 2 +-
.../camel/component/rest/openapi/rest-openapi.json | 4 ++--
.../rest/openapi/RestOpenApiComponent.java | 2 +-
.../rest/openapi/RestOpenApiEndpoint.java | 2 +-
.../rest/openapi/RestOpenapiProcessorStrategy.java | 4 ++--
.../dsl/RestOpenapiComponentBuilderFactory.java | 4 ++--
.../endpoint/dsl/FileEndpointBuilderFactory.java | 28 +++++++++++-----------
.../dsl/InfluxDb2EndpointBuilderFactory.java | 4 ++--
.../dsl/RestOpenApiEndpointBuilderFactory.java | 4 ++--
17 files changed, 37 insertions(+), 37 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/file.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/file.json
index b92033033b9e..b05c5f309dd1 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/file.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/file.json
@@ -130,7 +130,7 @@
"readLockDeleteOrphanLockFiles": { "index": 72, "kind": "parameter",
"displayName": "Read Lock Delete Orphan Lock Files", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether or not read lock with marker files should upon startup
delete any orphan read lock files, which may have been left on the file system,
if Camel was not proper [...]
"readLockIdempotentReleaseAsync": { "index": 73, "kind": "parameter",
"displayName": "Read Lock Idempotent Release Async", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether the delayed release task should be synchronous
or asynchronous. See more details at the readLockIdempotentReleaseDelay
option." },
"readLockIdempotentReleaseAsyncPoolSize": { "index": 74, "kind":
"parameter", "displayName": "Read Lock Idempotent Release Async Pool Size",
"group": "lock", "label": "consumer,lock", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "The number of threads in the scheduled thread
pool when using asynchronous release tasks. Using a default of 1 core threads
should be sufficient in almost all use-cases, onl [...]
- "readLockIdempotentReleaseDelay": { "index": 75, "kind": "parameter",
"displayName": "Read Lock Idempotent Release Delay", "group": "lock", "label":
"consumer,lock", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "description":
"Whether to delay the release task for a period of millis. This can be used to
delay the release tasks to expand the window when a file is regarded as
read-locked, in an active\/active cluster [...]
+ "readLockIdempotentReleaseDelay": { "index": 75, "kind": "parameter",
"displayName": "Read Lock Idempotent Release Delay", "group": "lock", "label":
"consumer,lock", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "description": "How
many millis to delay the release task. This can be used to delay the release
tasks to expand the window when a file is regarded as read-locked, in an
active\/active cluster scenario with [...]
"readLockIdempotentReleaseExecutorService": { "index": 76, "kind":
"parameter", "displayName": "Read Lock Idempotent Release Executor Service",
"group": "lock", "label": "consumer,lock", "required": false, "type": "object",
"javaType": "java.util.concurrent.ScheduledExecutorService", "deprecated":
false, "autowired": false, "secret": false, "description": "To use a custom and
shared thread pool for asynchronous release tasks. See more details at the
readLockIdempotentReleaseDelay opt [...]
"readLockLoggingLevel": { "index": 77, "kind": "parameter", "displayName":
"Read Lock Logging Level", "group": "lock", "label": "consumer,lock",
"required": false, "type": "enum", "javaType": "org.apache.camel.LoggingLevel",
"enum": [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" ], "deprecated":
false, "autowired": false, "secret": false, "defaultValue": "DEBUG",
"description": "Logging level used when a read lock could not be acquired. By
default a DEBUG is logged. You can chang [...]
"readLockMarkerFile": { "index": 78, "kind": "parameter", "displayName":
"Read Lock Marker File", "group": "lock", "label": "consumer,lock", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether to use marker file with the changed, rename, or exclusive read lock
types. By default a marker file is used as well to guard against other
processes picking up the same files. This b [...]
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json
index fa6237420f45..4de5da996616 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/influxdb2.json
@@ -42,7 +42,7 @@
"autoCreateBucket": { "index": 1, "kind": "parameter", "displayName":
"Auto Create Bucket", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "description": "Define if we want
to auto create the bucket if it's not present." },
"autoCreateOrg": { "index": 2, "kind": "parameter", "displayName": "Auto
Create Org", "group": "producer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Define if we want to
auto create the organization if it's not present." },
"bucket": { "index": 3, "kind": "parameter", "displayName": "Bucket",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "The name of the bucket where the time series
will be stored." },
- "operation": { "index": 4, "kind": "parameter", "displayName":
"Operation", "group": "producer", "label": "", "required": false, "type":
"enum", "javaType": "org.apache.camel.component.influxdb2.enums.Operation",
"enum": [ "INSERT", "PING" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "INSERT", "description": "Define if this
operation is an insert of ping." },
+ "operation": { "index": 4, "kind": "parameter", "displayName":
"Operation", "group": "producer", "label": "", "required": false, "type":
"enum", "javaType": "org.apache.camel.component.influxdb2.enums.Operation",
"enum": [ "INSERT", "PING" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "INSERT", "description": "Define if this
operation is an insert or a ping." },
"org": { "index": 5, "kind": "parameter", "displayName": "Org", "group":
"producer", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The name of the organization where the time series will be
stored." },
"retentionPolicy": { "index": 6, "kind": "parameter", "displayName":
"Retention Policy", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "default", "description":
"Define the retention policy to the data created by the endpoint." },
"writePrecision": { "index": 7, "kind": "parameter", "displayName": "Write
Precision", "group": "producer", "label": "", "required": false, "type":
"enum", "javaType": "com.influxdb.client.domain.WritePrecision", "enum": [
"ms", "s", "us", "ns" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "ms", "description": "The format or precision of time
series timestamps." },
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json
index 67bc00a005d9..648ffc3af9d3 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/rest-openapi.json
@@ -30,7 +30,7 @@
"bridgeErrorHandler": { "index": 3, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
"clientRequestValidation": { "index": 4, "kind": "property",
"displayName": "Client Request Validation", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to enable validation of the client request to
check if the incoming request is valid according to the OpenAPI specification"
},
"clientResponseValidation": { "index": 5, "kind": "property",
"displayName": "Client Response Validation", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to enable validation of the client request to
check if the outgoing response from Camel is valid according to the OpenAPI
specification" },
- "missingOperation": { "index": 6, "kind": "property", "displayName":
"Missing Operation", "group": "consumer", "label": "consumer", "required":
false, "type": "enum", "javaType": "java.lang.String", "enum": [ "fail",
"ignore", "mock" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "fail", "description": "Whether the consumer should fail,ignore
or return a mock response for OpenAPI operations that are not mapped to a
corresponding route." },
+ "missingOperation": { "index": 6, "kind": "property", "displayName":
"Missing Operation", "group": "consumer", "label": "consumer", "required":
false, "type": "enum", "javaType": "java.lang.String", "enum": [ "fail",
"ignore", "mock" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "fail", "description": "Whether the consumer should fail,
ignore or return a mock response for OpenAPI operations that are not mapped to
a corresponding route." },
"bindingPackageScan": { "index": 7, "kind": "property", "displayName":
"Binding Package Scan", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Package name to use as base (offset) for classpath scanning of
POJO classes are located when using binding mode is enabled for JSon or XML.
Multiple package names can be separated by comma." },
"consumerComponentName": { "index": 8, "kind": "property", "displayName":
"Consumer Component Name", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of the Camel component that will service the requests. The
component must be present in Camel registry and it must implement
RestOpenApiConsumerFactory service provider interfac [...]
"mockIncludePattern": { "index": 9, "kind": "property", "displayName":
"Mock Include Pattern", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "classpath:camel-mock\/**", "description": "Used for inclusive
filtering of mock data from directories. The pattern is using Ant-path style
pattern. Multiple patterns can be specified sepa [...]
@@ -61,7 +61,7 @@
"clientRequestValidation": { "index": 4, "kind": "parameter",
"displayName": "Client Request Validation", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to enable validation of the client request to
check if the incoming request is valid according to the OpenAPI specification"
},
"clientResponseValidation": { "index": 5, "kind": "parameter",
"displayName": "Client Response Validation", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to enable validation of the client request to
check if the outgoing response from Camel is valid according to the OpenAPI
specification" },
"consumes": { "index": 6, "kind": "parameter", "displayName": "Consumes",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "What payload type this component capable of
consuming. Could be one type, like application\/json or multiple types as
application\/json, application\/xml; q=0.5 according to the RFC7231. This
equates or multiple types as applicat [...]
- "missingOperation": { "index": 7, "kind": "parameter", "displayName":
"Missing Operation", "group": "consumer", "label": "consumer", "required":
false, "type": "enum", "javaType": "java.lang.String", "enum": [ "fail",
"ignore", "mock" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "fail", "description": "Whether the consumer should fail,ignore
or return a mock response for OpenAPI operations that are not mapped to a
corresponding route." },
+ "missingOperation": { "index": 7, "kind": "parameter", "displayName":
"Missing Operation", "group": "consumer", "label": "consumer", "required":
false, "type": "enum", "javaType": "java.lang.String", "enum": [ "fail",
"ignore", "mock" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "fail", "description": "Whether the consumer should fail,
ignore or return a mock response for OpenAPI operations that are not mapped to
a corresponding route." },
"bridgeErrorHandler": { "index": 8, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
"consumerComponentName": { "index": 9, "kind": "parameter", "displayName":
"Consumer Component Name", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of the Camel component that will service the requests. The
component must be present in Camel registry and it must implement
RestOpenApiConsumerFactory service provider interfa [...]
"exceptionHandler": { "index": 10, "kind": "parameter", "displayName":
"Exception Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.",
"deprecated": false, "autowired": false, "secret": false, "description": "To
let the consumer use a custom ExceptionHandler. Notice if the option
bridgeErrorHandler is enabled then this option is not in use. By de [...]
diff --git
a/components/camel-file/src/generated/resources/META-INF/org/apache/camel/component/file/file.json
b/components/camel-file/src/generated/resources/META-INF/org/apache/camel/component/file/file.json
index b92033033b9e..b05c5f309dd1 100644
---
a/components/camel-file/src/generated/resources/META-INF/org/apache/camel/component/file/file.json
+++
b/components/camel-file/src/generated/resources/META-INF/org/apache/camel/component/file/file.json
@@ -130,7 +130,7 @@
"readLockDeleteOrphanLockFiles": { "index": 72, "kind": "parameter",
"displayName": "Read Lock Delete Orphan Lock Files", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue": true,
"description": "Whether or not read lock with marker files should upon startup
delete any orphan read lock files, which may have been left on the file system,
if Camel was not proper [...]
"readLockIdempotentReleaseAsync": { "index": 73, "kind": "parameter",
"displayName": "Read Lock Idempotent Release Async", "group": "lock", "label":
"consumer,lock", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether the delayed release task should be synchronous
or asynchronous. See more details at the readLockIdempotentReleaseDelay
option." },
"readLockIdempotentReleaseAsyncPoolSize": { "index": 74, "kind":
"parameter", "displayName": "Read Lock Idempotent Release Async Pool Size",
"group": "lock", "label": "consumer,lock", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "description": "The number of threads in the scheduled thread
pool when using asynchronous release tasks. Using a default of 1 core threads
should be sufficient in almost all use-cases, onl [...]
- "readLockIdempotentReleaseDelay": { "index": 75, "kind": "parameter",
"displayName": "Read Lock Idempotent Release Delay", "group": "lock", "label":
"consumer,lock", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "description":
"Whether to delay the release task for a period of millis. This can be used to
delay the release tasks to expand the window when a file is regarded as
read-locked, in an active\/active cluster [...]
+ "readLockIdempotentReleaseDelay": { "index": 75, "kind": "parameter",
"displayName": "Read Lock Idempotent Release Delay", "group": "lock", "label":
"consumer,lock", "required": false, "type": "integer", "javaType": "int",
"deprecated": false, "autowired": false, "secret": false, "description": "How
many millis to delay the release task. This can be used to delay the release
tasks to expand the window when a file is regarded as read-locked, in an
active\/active cluster scenario with [...]
"readLockIdempotentReleaseExecutorService": { "index": 76, "kind":
"parameter", "displayName": "Read Lock Idempotent Release Executor Service",
"group": "lock", "label": "consumer,lock", "required": false, "type": "object",
"javaType": "java.util.concurrent.ScheduledExecutorService", "deprecated":
false, "autowired": false, "secret": false, "description": "To use a custom and
shared thread pool for asynchronous release tasks. See more details at the
readLockIdempotentReleaseDelay opt [...]
"readLockLoggingLevel": { "index": 77, "kind": "parameter", "displayName":
"Read Lock Logging Level", "group": "lock", "label": "consumer,lock",
"required": false, "type": "enum", "javaType": "org.apache.camel.LoggingLevel",
"enum": [ "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF" ], "deprecated":
false, "autowired": false, "secret": false, "defaultValue": "DEBUG",
"description": "Logging level used when a read lock could not be acquired. By
default a DEBUG is logged. You can chang [...]
"readLockMarkerFile": { "index": 78, "kind": "parameter", "displayName":
"Read Lock Marker File", "group": "lock", "label": "consumer,lock", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether to use marker file with the changed, rename, or exclusive read lock
types. By default a marker file is used as well to guard against other
processes picking up the same files. This b [...]
diff --git
a/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
b/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
index 5f4301ade3a1..4479223677c2 100644
---
a/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
+++
b/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileEndpoint.java
@@ -437,7 +437,7 @@ public abstract class GenericFileEndpoint<T> extends
ScheduledPollEndpoint imple
+ "entry after X minutes
- this ensures no problems with race conditions. <p/> See more details at the "
+
"readLockIdempotentReleaseDelay option.")
protected boolean readLockRemoveOnCommit;
- @UriParam(label = "consumer,lock", description = "Whether to delay the
release task for a period of millis. <p/> "
+ @UriParam(label = "consumer,lock", description = "How many millis to delay
the release task. <p/> "
+ "This can be used to
delay the release tasks to expand the window when a file is regarded as "
+ "read-locked, in an
active/active cluster scenario with a shared idempotent repository, to ensure "
+ "other nodes cannot
potentially scan and acquire the same file, due to race-conditions. By
expanding "
@@ -1358,7 +1358,7 @@ public abstract class GenericFileEndpoint<T> extends
ScheduledPollEndpoint imple
}
/**
- * Whether to delay the release task for a period of millis.
+ * How many millis to delay the release task.
* <p/>
* This can be used to delay the release tasks to expand the window when a
file is regarded as read-locked, in an
* active/active cluster scenario with a shared idempotent repository, to
ensure other nodes cannot potentially scan
diff --git
a/components/camel-file/src/main/java/org/apache/camel/component/file/strategy/FileIdempotentChangedRepositoryReadLockStrategy.java
b/components/camel-file/src/main/java/org/apache/camel/component/file/strategy/FileIdempotentChangedRepositoryReadLockStrategy.java
index ce5e6c8c355a..fe83b09c7bbb 100644
---
a/components/camel-file/src/main/java/org/apache/camel/component/file/strategy/FileIdempotentChangedRepositoryReadLockStrategy.java
+++
b/components/camel-file/src/main/java/org/apache/camel/component/file/strategy/FileIdempotentChangedRepositoryReadLockStrategy.java
@@ -287,7 +287,7 @@ public class
FileIdempotentChangedRepositoryReadLockStrategy extends ServiceSupp
}
/**
- * Whether to delay the release task for a period of millis.
+ * How many millis to delay the release task.
*/
public void setReadLockIdempotentReleaseDelay(int
readLockIdempotentReleaseDelay) {
this.readLockIdempotentReleaseDelay = readLockIdempotentReleaseDelay;
diff --git
a/components/camel-file/src/main/java/org/apache/camel/component/file/strategy/FileIdempotentRepositoryReadLockStrategy.java
b/components/camel-file/src/main/java/org/apache/camel/component/file/strategy/FileIdempotentRepositoryReadLockStrategy.java
index 1883051b947d..07c02e5df063 100644
---
a/components/camel-file/src/main/java/org/apache/camel/component/file/strategy/FileIdempotentRepositoryReadLockStrategy.java
+++
b/components/camel-file/src/main/java/org/apache/camel/component/file/strategy/FileIdempotentRepositoryReadLockStrategy.java
@@ -248,7 +248,7 @@ public class FileIdempotentRepositoryReadLockStrategy
extends ServiceSupport
}
/**
- * Whether to delay the release task for a period of millis.
+ * How many millis to delay the release task.
*/
public void setReadLockIdempotentReleaseDelay(int
readLockIdempotentReleaseDelay) {
this.readLockIdempotentReleaseDelay = readLockIdempotentReleaseDelay;
diff --git
a/components/camel-influxdb2/src/generated/resources/META-INF/org/apache/camel/component/influxdb2/influxdb2.json
b/components/camel-influxdb2/src/generated/resources/META-INF/org/apache/camel/component/influxdb2/influxdb2.json
index fa6237420f45..4de5da996616 100644
---
a/components/camel-influxdb2/src/generated/resources/META-INF/org/apache/camel/component/influxdb2/influxdb2.json
+++
b/components/camel-influxdb2/src/generated/resources/META-INF/org/apache/camel/component/influxdb2/influxdb2.json
@@ -42,7 +42,7 @@
"autoCreateBucket": { "index": 1, "kind": "parameter", "displayName":
"Auto Create Bucket", "group": "producer", "label": "", "required": false,
"type": "boolean", "javaType": "boolean", "deprecated": false, "autowired":
false, "secret": false, "defaultValue": true, "description": "Define if we want
to auto create the bucket if it's not present." },
"autoCreateOrg": { "index": 2, "kind": "parameter", "displayName": "Auto
Create Org", "group": "producer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Define if we want to
auto create the organization if it's not present." },
"bucket": { "index": 3, "kind": "parameter", "displayName": "Bucket",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "The name of the bucket where the time series
will be stored." },
- "operation": { "index": 4, "kind": "parameter", "displayName":
"Operation", "group": "producer", "label": "", "required": false, "type":
"enum", "javaType": "org.apache.camel.component.influxdb2.enums.Operation",
"enum": [ "INSERT", "PING" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "INSERT", "description": "Define if this
operation is an insert of ping." },
+ "operation": { "index": 4, "kind": "parameter", "displayName":
"Operation", "group": "producer", "label": "", "required": false, "type":
"enum", "javaType": "org.apache.camel.component.influxdb2.enums.Operation",
"enum": [ "INSERT", "PING" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "INSERT", "description": "Define if this
operation is an insert or a ping." },
"org": { "index": 5, "kind": "parameter", "displayName": "Org", "group":
"producer", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "The name of the organization where the time series will be
stored." },
"retentionPolicy": { "index": 6, "kind": "parameter", "displayName":
"Retention Policy", "group": "producer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": "default", "description":
"Define the retention policy to the data created by the endpoint." },
"writePrecision": { "index": 7, "kind": "parameter", "displayName": "Write
Precision", "group": "producer", "label": "", "required": false, "type":
"enum", "javaType": "com.influxdb.client.domain.WritePrecision", "enum": [
"ms", "s", "us", "ns" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "ms", "description": "The format or precision of time
series timestamps." },
diff --git
a/components/camel-influxdb2/src/main/java/org/apache/camel/component/influxdb2/InfluxDb2Endpoint.java
b/components/camel-influxdb2/src/main/java/org/apache/camel/component/influxdb2/InfluxDb2Endpoint.java
index 2763de435a2f..47898bdd55ef 100644
---
a/components/camel-influxdb2/src/main/java/org/apache/camel/component/influxdb2/InfluxDb2Endpoint.java
+++
b/components/camel-influxdb2/src/main/java/org/apache/camel/component/influxdb2/InfluxDb2Endpoint.java
@@ -82,7 +82,7 @@ public class InfluxDb2Endpoint extends DefaultEndpoint {
@UriParam(defaultValue = "default", description = "Define the retention
policy to the data created by the endpoint.")
private String retentionPolicy = "default";
- @UriParam(defaultValue = "INSERT", description = "Define if this operation
is an insert of ping.")
+ @UriParam(defaultValue = "INSERT", description = "Define if this operation
is an insert or a ping.")
private Operation operation = Operation.INSERT;
@UriParam(defaultValue = "true", description = "Define if we want to auto
create the organization if it's not present.")
private boolean autoCreateOrg = true;
diff --git
a/components/camel-rest-openapi/src/generated/resources/META-INF/org/apache/camel/component/rest/openapi/rest-openapi.json
b/components/camel-rest-openapi/src/generated/resources/META-INF/org/apache/camel/component/rest/openapi/rest-openapi.json
index 67bc00a005d9..648ffc3af9d3 100644
---
a/components/camel-rest-openapi/src/generated/resources/META-INF/org/apache/camel/component/rest/openapi/rest-openapi.json
+++
b/components/camel-rest-openapi/src/generated/resources/META-INF/org/apache/camel/component/rest/openapi/rest-openapi.json
@@ -30,7 +30,7 @@
"bridgeErrorHandler": { "index": 3, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
"clientRequestValidation": { "index": 4, "kind": "property",
"displayName": "Client Request Validation", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to enable validation of the client request to
check if the incoming request is valid according to the OpenAPI specification"
},
"clientResponseValidation": { "index": 5, "kind": "property",
"displayName": "Client Response Validation", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to enable validation of the client request to
check if the outgoing response from Camel is valid according to the OpenAPI
specification" },
- "missingOperation": { "index": 6, "kind": "property", "displayName":
"Missing Operation", "group": "consumer", "label": "consumer", "required":
false, "type": "enum", "javaType": "java.lang.String", "enum": [ "fail",
"ignore", "mock" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "fail", "description": "Whether the consumer should fail,ignore
or return a mock response for OpenAPI operations that are not mapped to a
corresponding route." },
+ "missingOperation": { "index": 6, "kind": "property", "displayName":
"Missing Operation", "group": "consumer", "label": "consumer", "required":
false, "type": "enum", "javaType": "java.lang.String", "enum": [ "fail",
"ignore", "mock" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "fail", "description": "Whether the consumer should fail,
ignore or return a mock response for OpenAPI operations that are not mapped to
a corresponding route." },
"bindingPackageScan": { "index": 7, "kind": "property", "displayName":
"Binding Package Scan", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Package name to use as base (offset) for classpath scanning of
POJO classes are located when using binding mode is enabled for JSon or XML.
Multiple package names can be separated by comma." },
"consumerComponentName": { "index": 8, "kind": "property", "displayName":
"Consumer Component Name", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of the Camel component that will service the requests. The
component must be present in Camel registry and it must implement
RestOpenApiConsumerFactory service provider interfac [...]
"mockIncludePattern": { "index": 9, "kind": "property", "displayName":
"Mock Include Pattern", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "classpath:camel-mock\/**", "description": "Used for inclusive
filtering of mock data from directories. The pattern is using Ant-path style
pattern. Multiple patterns can be specified sepa [...]
@@ -61,7 +61,7 @@
"clientRequestValidation": { "index": 4, "kind": "parameter",
"displayName": "Client Request Validation", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to enable validation of the client request to
check if the incoming request is valid according to the OpenAPI specification"
},
"clientResponseValidation": { "index": 5, "kind": "parameter",
"displayName": "Client Response Validation", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "Whether to enable validation of the client request to
check if the outgoing response from Camel is valid according to the OpenAPI
specification" },
"consumes": { "index": 6, "kind": "parameter", "displayName": "Consumes",
"group": "consumer", "label": "consumer", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "What payload type this component capable of
consuming. Could be one type, like application\/json or multiple types as
application\/json, application\/xml; q=0.5 according to the RFC7231. This
equates or multiple types as applicat [...]
- "missingOperation": { "index": 7, "kind": "parameter", "displayName":
"Missing Operation", "group": "consumer", "label": "consumer", "required":
false, "type": "enum", "javaType": "java.lang.String", "enum": [ "fail",
"ignore", "mock" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "fail", "description": "Whether the consumer should fail,ignore
or return a mock response for OpenAPI operations that are not mapped to a
corresponding route." },
+ "missingOperation": { "index": 7, "kind": "parameter", "displayName":
"Missing Operation", "group": "consumer", "label": "consumer", "required":
false, "type": "enum", "javaType": "java.lang.String", "enum": [ "fail",
"ignore", "mock" ], "deprecated": false, "autowired": false, "secret": false,
"defaultValue": "fail", "description": "Whether the consumer should fail,
ignore or return a mock response for OpenAPI operations that are not mapped to
a corresponding route." },
"bridgeErrorHandler": { "index": 8, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
"consumerComponentName": { "index": 9, "kind": "parameter", "displayName":
"Consumer Component Name", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"description": "Name of the Camel component that will service the requests. The
component must be present in Camel registry and it must implement
RestOpenApiConsumerFactory service provider interfa [...]
"exceptionHandler": { "index": 10, "kind": "parameter", "displayName":
"Exception Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "object", "javaType":
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.",
"deprecated": false, "autowired": false, "secret": false, "description": "To
let the consumer use a custom ExceptionHandler. Notice if the option
bridgeErrorHandler is enabled then this option is not in use. By de [...]
diff --git
a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiComponent.java
b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiComponent.java
index cf4371c17c99..46907be3dc5f 100644
---
a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiComponent.java
+++
b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiComponent.java
@@ -133,7 +133,7 @@ public final class RestOpenApiComponent extends
DefaultComponent implements SSLC
private boolean clientResponseValidation;
@Metadata(label = "producer", description = "Enable validation of requests
against the configured OpenAPI specification")
private boolean requestValidationEnabled;
- @Metadata(description = "Whether the consumer should fail,ignore or return
a mock response for OpenAPI operations that are not mapped to a corresponding
route.",
+ @Metadata(description = "Whether the consumer should fail, ignore or
return a mock response for OpenAPI operations that are not mapped to a
corresponding route.",
label = "consumer", enums = "fail,ignore,mock", defaultValue =
"fail")
private String missingOperation;
@Metadata(description = "Used for inclusive filtering of mock data from
directories. The pattern is using Ant-path style pattern."
diff --git
a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java
b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java
index fae6f0c2c520..6b6165da0ec3 100644
---
a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java
+++
b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenApiEndpoint.java
@@ -189,7 +189,7 @@ public final class RestOpenApiEndpoint extends
DefaultEndpoint {
private boolean requestValidationEnabled;
@UriParam(description = "To use a custom strategy for how to process Rest
DSL requests", label = "consumer,advanced")
private RestOpenapiProcessorStrategy restOpenapiProcessorStrategy;
- @UriParam(description = "Whether the consumer should fail,ignore or return
a mock response for OpenAPI operations that are not mapped to a corresponding
route.",
+ @UriParam(description = "Whether the consumer should fail, ignore or
return a mock response for OpenAPI operations that are not mapped to a
corresponding route.",
enums = "fail,ignore,mock", label = "consumer", defaultValue =
"fail")
private String missingOperation;
@UriParam(description = "Used for inclusive filtering of mock data from
directories. The pattern is using Ant-path style pattern."
diff --git
a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenapiProcessorStrategy.java
b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenapiProcessorStrategy.java
index 969157e2d0d3..aee5c95c203e 100644
---
a/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenapiProcessorStrategy.java
+++
b/components/camel-rest-openapi/src/main/java/org/apache/camel/component/rest/openapi/RestOpenapiProcessorStrategy.java
@@ -29,13 +29,13 @@ import org.apache.camel.support.processor.RestBindingAdvice;
public interface RestOpenapiProcessorStrategy {
/**
- * Whether the consumer should fail,ignore or return a dummy response for
OpenAPI operations that are not mapped to
+ * Whether the consumer should fail, ignore or return a mock response for
OpenAPI operations that are not mapped to
* a corresponding route.
*/
void setMissingOperation(String missingOperation);
/**
- * Whether the consumer should fail,ignore or return a dummy response for
OpenAPI operations that are not mapped to
+ * Whether the consumer should fail, ignore or return a mock response for
OpenAPI operations that are not mapped to
* a corresponding route.
*/
String getMissingOperation();
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/RestOpenapiComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/RestOpenapiComponentBuilderFactory.java
index 7cd87704fbca..758a26d6563f 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/RestOpenapiComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/RestOpenapiComponentBuilderFactory.java
@@ -170,8 +170,8 @@ public interface RestOpenapiComponentBuilderFactory {
/**
- * Whether the consumer should fail,ignore or return a mock response
for
- * OpenAPI operations that are not mapped to a corresponding route.
+ * Whether the consumer should fail, ignore or return a mock response
+ * for OpenAPI operations that are not mapped to a corresponding route.
*
* The option is a: <code>java.lang.String</code> type.
*
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FileEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FileEndpointBuilderFactory.java
index bf372a98f1ce..3d578001184e 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FileEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/FileEndpointBuilderFactory.java
@@ -1097,13 +1097,13 @@ public interface FileEndpointBuilderFactory {
return this;
}
/**
- * Whether to delay the release task for a period of millis. This can
be
- * used to delay the release tasks to expand the window when a file is
- * regarded as read-locked, in an active/active cluster scenario with a
- * shared idempotent repository, to ensure other nodes cannot
- * potentially scan and acquire the same file, due to race-conditions.
- * By expanding the time-window of the release tasks helps prevents
- * these situations. Note delaying is only needed if you have
configured
+ * How many millis to delay the release task. This can be used to delay
+ * the release tasks to expand the window when a file is regarded as
+ * read-locked, in an active/active cluster scenario with a shared
+ * idempotent repository, to ensure other nodes cannot potentially scan
+ * and acquire the same file, due to race-conditions. By expanding the
+ * time-window of the release tasks helps prevents these situations.
+ * Note delaying is only needed if you have configured
* readLockRemoveOnCommit to true.
*
* The option is a: <code>int</code> type.
@@ -1118,13 +1118,13 @@ public interface FileEndpointBuilderFactory {
return this;
}
/**
- * Whether to delay the release task for a period of millis. This can
be
- * used to delay the release tasks to expand the window when a file is
- * regarded as read-locked, in an active/active cluster scenario with a
- * shared idempotent repository, to ensure other nodes cannot
- * potentially scan and acquire the same file, due to race-conditions.
- * By expanding the time-window of the release tasks helps prevents
- * these situations. Note delaying is only needed if you have
configured
+ * How many millis to delay the release task. This can be used to delay
+ * the release tasks to expand the window when a file is regarded as
+ * read-locked, in an active/active cluster scenario with a shared
+ * idempotent repository, to ensure other nodes cannot potentially scan
+ * and acquire the same file, due to race-conditions. By expanding the
+ * time-window of the release tasks helps prevents these situations.
+ * Note delaying is only needed if you have configured
* readLockRemoveOnCommit to true.
*
* The option will be converted to a <code>int</code> type.
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDb2EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDb2EndpointBuilderFactory.java
index 19b443037d58..3bd7ab725626 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDb2EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/InfluxDb2EndpointBuilderFactory.java
@@ -122,7 +122,7 @@ public interface InfluxDb2EndpointBuilderFactory {
return this;
}
/**
- * Define if this operation is an insert of ping.
+ * Define if this operation is an insert or a ping.
*
* The option is a:
* <code>org.apache.camel.component.influxdb2.enums.Operation</code>
@@ -139,7 +139,7 @@ public interface InfluxDb2EndpointBuilderFactory {
return this;
}
/**
- * Define if this operation is an insert of ping.
+ * Define if this operation is an insert or a ping.
*
* The option will be converted to a
* <code>org.apache.camel.component.influxdb2.enums.Operation</code>
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java
index 3e2a2f95f942..4524b8347001 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/RestOpenApiEndpointBuilderFactory.java
@@ -160,8 +160,8 @@ public interface RestOpenApiEndpointBuilderFactory {
return this;
}
/**
- * Whether the consumer should fail,ignore or return a mock response
for
- * OpenAPI operations that are not mapped to a corresponding route.
+ * Whether the consumer should fail, ignore or return a mock response
+ * for OpenAPI operations that are not mapped to a corresponding route.
*
* The option is a: <code>java.lang.String</code> type.
*