You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2023/05/25 05:07:48 UTC

[camel-spring-boot] branch main created (now 6e1453a2f2f)

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

acosentino pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


      at 6e1453a2f2f Regen

This branch includes the following new commits:

     new 6e1453a2f2f Regen

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[camel-spring-boot] 01/01: Regen

Posted by ac...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git

commit 6e1453a2f2feca320f1a26b02a7adcae54970c73
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Thu May 25 06:31:00 2023 +0200

    Regen
---
 .../springboot/catalog/components/debezium-oracle.json  |  4 ++--
 .../camel/springboot/catalog/components/slack.json      |  2 +-
 .../src/main/docs/debezium-oracle.json                  |  4 ++--
 .../DebeziumOracleComponentConfiguration.java           | 17 +++++++++--------
 4 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/debezium-oracle.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/debezium-oracle.json
index 4e93993aa44..0fea549d07f 100644
--- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/debezium-oracle.json
+++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/debezium-oracle.json
@@ -82,7 +82,7 @@
     "logMiningSleepTimeMaxMs": { "index": 57, "kind": "property", "displayName": "Log Mining Sleep Time Max Ms", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "3s", "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "The maximum amount [...]
     "logMiningSleepTimeMinMs": { "index": 58, "kind": "property", "displayName": "Log Mining Sleep Time Min Ms", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "0ms", "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "The minimum amoun [...]
     "logMiningStrategy": { "index": 59, "kind": "property", "displayName": "Log Mining Strategy", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "redo_log_catalog", "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "There are [...]
-    "logMiningTransactionRetentionHours": { "index": 60, "kind": "property", "displayName": "Log Mining Transaction Retention Hours", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 0, "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "H [...]
+    "logMiningTransactionRetentionMs": { "index": 60, "kind": "property", "displayName": "Log Mining Transaction Retention Ms", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "0ms", "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "Du [...]
     "logMiningUsernameExcludeList": { "index": 61, "kind": "property", "displayName": "Log Mining Username Exclude List", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "Comma separated list  [...]
     "maxBatchSize": { "index": 62, "kind": "property", "displayName": "Max Batch Size", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 2048, "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "Maximum size of each batch of source records. [...]
     "maxQueueSize": { "index": 63, "kind": "property", "displayName": "Max Queue Size", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 8192, "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "Maximum size of the queue for change events r [...]
@@ -190,7 +190,7 @@
     "logMiningSleepTimeMaxMs": { "index": 58, "kind": "parameter", "displayName": "Log Mining Sleep Time Max Ms", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "3s", "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "The maximum amoun [...]
     "logMiningSleepTimeMinMs": { "index": 59, "kind": "parameter", "displayName": "Log Mining Sleep Time Min Ms", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "0ms", "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "The minimum amou [...]
     "logMiningStrategy": { "index": 60, "kind": "parameter", "displayName": "Log Mining Strategy", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "redo_log_catalog", "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "There ar [...]
-    "logMiningTransactionRetentionHours": { "index": 61, "kind": "parameter", "displayName": "Log Mining Transaction Retention Hours", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 0, "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": " [...]
+    "logMiningTransactionRetentionMs": { "index": 61, "kind": "parameter", "displayName": "Log Mining Transaction Retention Ms", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "0ms", "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "D [...]
     "logMiningUsernameExcludeList": { "index": 62, "kind": "parameter", "displayName": "Log Mining Username Exclude List", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": false, "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "Comma separated list [...]
     "maxBatchSize": { "index": 63, "kind": "parameter", "displayName": "Max Batch Size", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 2048, "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "Maximum size of each batch of source records [...]
     "maxQueueSize": { "index": 64, "kind": "parameter", "displayName": "Max Queue Size", "group": "oracle", "label": "consumer,oracle", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 8192, "configurationClass": "org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration", "configurationField": "configuration", "description": "Maximum size of the queue for change events  [...]
diff --git a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/slack.json b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/slack.json
index 109617ca7fa..291cd30e728 100644
--- a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/slack.json
+++ b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/slack.json
@@ -48,7 +48,7 @@
     "backoffErrorThreshold": { "index": 16, "kind": "parameter", "displayName": "Backoff Error Threshold", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "description": "The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in." },
     "backoffIdleThreshold": { "index": 17, "kind": "parameter", "displayName": "Backoff Idle Threshold", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "description": "The number of subsequent idle polls that should happen before the backoffMultipler should kick-in." },
     "backoffMultiplier": { "index": 18, "kind": "parameter", "displayName": "Backoff Multiplier", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "integer", "javaType": "int", "deprecated": false, "autowired": false, "secret": false, "description": "To let the scheduled polling consumer backoff if there has been a number of subsequent idles\/errors in a row. The multiplier is then the number of polls that will be skipped before the next actual attempt is h [...]
-    "delay": { "index": 19, "kind": "parameter", "displayName": "Delay", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 500, "description": "Milliseconds before the next poll." },
+    "delay": { "index": 19, "kind": "parameter", "displayName": "Delay", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "duration", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": "10000", "description": "Milliseconds before the next poll." },
     "greedy": { "index": 20, "kind": "parameter", "displayName": "Greedy", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages." },
     "initialDelay": { "index": 21, "kind": "parameter", "displayName": "Initial Delay", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 1000, "description": "Milliseconds before the first poll starts." },
     "repeatCount": { "index": 22, "kind": "parameter", "displayName": "Repeat Count", "group": "scheduler", "label": "consumer,scheduler", "required": false, "type": "integer", "javaType": "long", "deprecated": false, "autowired": false, "secret": false, "defaultValue": 0, "description": "Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever." },
diff --git a/components-starter/camel-debezium-oracle-starter/src/main/docs/debezium-oracle.json b/components-starter/camel-debezium-oracle-starter/src/main/docs/debezium-oracle.json
index e1818231508..e15244b0cf5 100644
--- a/components-starter/camel-debezium-oracle-starter/src/main/docs/debezium-oracle.json
+++ b/components-starter/camel-debezium-oracle-starter/src/main/docs/debezium-oracle.json
@@ -369,9 +369,9 @@
       "defaultValue": "redo_log_catalog"
     },
     {
-      "name": "camel.component.debezium-oracle.log-mining-transaction-retention-hours",
+      "name": "camel.component.debezium-oracle.log-mining-transaction-retention-ms",
       "type": "java.lang.Long",
-      "description": "Hours to keep long running transactions in transaction buffer between log mining sessions. By default, all transactions are retained.",
+      "description": "Duration in milliseconds to keep long running transactions in transaction buffer between log mining sessions. By default, all transactions are retained. The option is a long type.",
       "sourceType": "org.apache.camel.component.debezium.springboot.DebeziumOracleComponentConfiguration",
       "defaultValue": 0
     },
diff --git a/components-starter/camel-debezium-oracle-starter/src/main/java/org/apache/camel/component/debezium/springboot/DebeziumOracleComponentConfiguration.java b/components-starter/camel-debezium-oracle-starter/src/main/java/org/apache/camel/component/debezium/springboot/DebeziumOracleComponentConfiguration.java
index 91ed4596726..a4dd2a71105 100644
--- a/components-starter/camel-debezium-oracle-starter/src/main/java/org/apache/camel/component/debezium/springboot/DebeziumOracleComponentConfiguration.java
+++ b/components-starter/camel-debezium-oracle-starter/src/main/java/org/apache/camel/component/debezium/springboot/DebeziumOracleComponentConfiguration.java
@@ -395,10 +395,11 @@ public class DebeziumOracleComponentConfiguration
      */
     private String logMiningStrategy = "redo_log_catalog";
     /**
-     * Hours to keep long running transactions in transaction buffer between log
-     * mining sessions. By default, all transactions are retained.
+     * Duration in milliseconds to keep long running transactions in transaction
+     * buffer between log mining sessions. By default, all transactions are
+     * retained. The option is a long type.
      */
-    private Long logMiningTransactionRetentionHours = 0L;
+    private Long logMiningTransactionRetentionMs = 0L;
     /**
      * Comma separated list of usernames to exclude from LogMiner query.
      */
@@ -1124,13 +1125,13 @@ public class DebeziumOracleComponentConfiguration
         this.logMiningStrategy = logMiningStrategy;
     }
 
-    public Long getLogMiningTransactionRetentionHours() {
-        return logMiningTransactionRetentionHours;
+    public Long getLogMiningTransactionRetentionMs() {
+        return logMiningTransactionRetentionMs;
     }
 
-    public void setLogMiningTransactionRetentionHours(
-            Long logMiningTransactionRetentionHours) {
-        this.logMiningTransactionRetentionHours = logMiningTransactionRetentionHours;
+    public void setLogMiningTransactionRetentionMs(
+            Long logMiningTransactionRetentionMs) {
+        this.logMiningTransactionRetentionMs = logMiningTransactionRetentionMs;
     }
 
     public String getLogMiningUsernameExcludeList() {