This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 8e0f30a Regen
8e0f30a is described below
commit 8e0f30afb6352f472d7b26de4ce098e9e92fd931
Author: Andrea Cosentino <[email protected]>
AuthorDate: Tue Apr 7 08:24:31 2020 +0200
Regen
---
.../resources/org/apache/camel/component/nats/nats.json | 2 +-
components/camel-nats/src/main/docs/nats-component.adoc | 2 +-
.../builder/endpoint/dsl/NatsEndpointBuilderFactory.java | 12 ++++++------
docs/components/modules/ROOT/pages/nats-component.adoc | 2 +-
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git
a/components/camel-nats/src/generated/resources/org/apache/camel/component/nats/nats.json
b/components/camel-nats/src/generated/resources/org/apache/camel/component/nats/nats.json
index 4eef75a..56ee2e4 100644
---
a/components/camel-nats/src/generated/resources/org/apache/camel/component/nats/nats.json
+++
b/components/camel-nats/src/generated/resources/org/apache/camel/component/nats/nats.json
@@ -30,7 +30,7 @@
"properties": {
"topic": { "kind": "path", "displayName": "Topic", "group": "common",
"label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "secret":
false, "configurationClass":
"org.apache.camel.component.nats.NatsConfiguration", "configurationField":
"configuration", "description": "The name of topic we want to use" },
"connectionTimeout": { "kind": "parameter", "displayName": "Connection
Timeout", "group": "common", "label": "common", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "secret": false,
"defaultValue": "2000", "configurationClass":
"org.apache.camel.component.nats.NatsConfiguration", "configurationField":
"configuration", "description": "Timeout for connection attempts. (in
milliseconds)" },
- "flushConnection": { "kind": "parameter", "displayName": "Flush
Connection", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "false", "configurationClass":
"org.apache.camel.component.nats.NatsConfiguration", "configurationField":
"configuration", "description": "Define if we want to flush connection when
stopping or not" },
+ "flushConnection": { "kind": "parameter", "displayName": "Flush
Connection", "group": "common", "label": "common", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "secret": false,
"defaultValue": "true", "configurationClass":
"org.apache.camel.component.nats.NatsConfiguration", "configurationField":
"configuration", "description": "Define if we want to flush connection when
stopping or not" },
"flushTimeout": { "kind": "parameter", "displayName": "Flush Timeout",
"group": "common", "label": "common", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "secret": false, "defaultValue":
"1000", "configurationClass":
"org.apache.camel.component.nats.NatsConfiguration", "configurationField":
"configuration", "description": "Set the flush timeout (in milliseconds)" },
"maxPingsOut": { "kind": "parameter", "displayName": "Max Pings Out",
"group": "common", "label": "common", "required": false, "type": "integer",
"javaType": "int", "deprecated": false, "secret": false, "defaultValue": "2",
"configurationClass": "org.apache.camel.component.nats.NatsConfiguration",
"configurationField": "configuration", "description": "maximum number of pings
have not received a response allowed by the client" },
"maxReconnectAttempts": { "kind": "parameter", "displayName": "Max
Reconnect Attempts", "group": "common", "label": "", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "secret": false,
"defaultValue": "60", "configurationClass":
"org.apache.camel.component.nats.NatsConfiguration", "configurationField":
"configuration", "description": "Max reconnection attempts" },
diff --git a/components/camel-nats/src/main/docs/nats-component.adoc
b/components/camel-nats/src/main/docs/nats-component.adoc
index 61524a2..2421961 100644
--- a/components/camel-nats/src/main/docs/nats-component.adoc
+++ b/components/camel-nats/src/main/docs/nats-component.adoc
@@ -81,7 +81,7 @@ with the following path and query parameters:
|===
| Name | Description | Default | Type
| *connectionTimeout* (common) | Timeout for connection attempts. (in
milliseconds) | 2000 | int
-| *flushConnection* (common) | Define if we want to flush connection when
stopping or not | false | boolean
+| *flushConnection* (common) | Define if we want to flush connection when
stopping or not | true | boolean
| *flushTimeout* (common) | Set the flush timeout (in milliseconds) | 1000 |
int
| *maxPingsOut* (common) | maximum number of pings have not received a
response allowed by the client | 2 | int
| *maxReconnectAttempts* (common) | Max reconnection attempts | 60 | int
diff --git
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NatsEndpointBuilderFactory.java
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NatsEndpointBuilderFactory.java
index b65b39e..db80006 100644
---
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NatsEndpointBuilderFactory.java
+++
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/NatsEndpointBuilderFactory.java
@@ -72,7 +72,7 @@ public interface NatsEndpointBuilderFactory {
*
* The option is a: <code>boolean</code> type.
*
- * Default: false
+ * Default: true
* Group: common
*/
default NatsEndpointConsumerBuilder flushConnection(
@@ -85,7 +85,7 @@ public interface NatsEndpointBuilderFactory {
*
* The option will be converted to a <code>boolean</code> type.
*
- * Default: false
+ * Default: true
* Group: common
*/
default NatsEndpointConsumerBuilder flushConnection(
@@ -739,7 +739,7 @@ public interface NatsEndpointBuilderFactory {
*
* The option is a: <code>boolean</code> type.
*
- * Default: false
+ * Default: true
* Group: common
*/
default NatsEndpointProducerBuilder flushConnection(
@@ -752,7 +752,7 @@ public interface NatsEndpointBuilderFactory {
*
* The option will be converted to a <code>boolean</code> type.
*
- * Default: false
+ * Default: true
* Group: common
*/
default NatsEndpointProducerBuilder flushConnection(
@@ -1290,7 +1290,7 @@ public interface NatsEndpointBuilderFactory {
*
* The option is a: <code>boolean</code> type.
*
- * Default: false
+ * Default: true
* Group: common
*/
default NatsEndpointBuilder flushConnection(boolean flushConnection) {
@@ -1302,7 +1302,7 @@ public interface NatsEndpointBuilderFactory {
*
* The option will be converted to a <code>boolean</code> type.
*
- * Default: false
+ * Default: true
* Group: common
*/
default NatsEndpointBuilder flushConnection(String flushConnection) {
diff --git a/docs/components/modules/ROOT/pages/nats-component.adoc
b/docs/components/modules/ROOT/pages/nats-component.adoc
index a80b391..159a9d0 100644
--- a/docs/components/modules/ROOT/pages/nats-component.adoc
+++ b/docs/components/modules/ROOT/pages/nats-component.adoc
@@ -82,7 +82,7 @@ with the following path and query parameters:
|===
| Name | Description | Default | Type
| *connectionTimeout* (common) | Timeout for connection attempts. (in
milliseconds) | 2000 | int
-| *flushConnection* (common) | Define if we want to flush connection when
stopping or not | false | boolean
+| *flushConnection* (common) | Define if we want to flush connection when
stopping or not | true | boolean
| *flushTimeout* (common) | Set the flush timeout (in milliseconds) | 1000 |
int
| *maxPingsOut* (common) | maximum number of pings have not received a
response allowed by the client | 2 | int
| *maxReconnectAttempts* (common) | Max reconnection attempts | 60 | int