You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2016/05/05 15:15:12 UTC
[1/2] camel git commit: [CAMEL-9930] Add supported unit formats for
delay parameter
Repository: camel
Updated Branches:
refs/heads/master 75158f549 -> 40b48c91e
[CAMEL-9930] Add supported unit formats for delay parameter
* add to @UriParam and to setter javadoc
* for timer endpoint
* for scheduled poll endpoint
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/2dc72d13
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/2dc72d13
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/2dc72d13
Branch: refs/heads/master
Commit: 2dc72d13950c26a3e12db38dbbd78a74ee6ed031
Parents: 75158f5
Author: Josef Ludvicek <jl...@redhat.com>
Authored: Thu May 5 16:43:20 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu May 5 16:52:47 2016 +0200
----------------------------------------------------------------------
.../java/org/apache/camel/component/timer/TimerEndpoint.java | 5 ++++-
.../java/org/apache/camel/impl/ScheduledPollEndpoint.java | 7 ++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/2dc72d13/camel-core/src/main/java/org/apache/camel/component/timer/TimerEndpoint.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/timer/TimerEndpoint.java b/camel-core/src/main/java/org/apache/camel/component/timer/TimerEndpoint.java
index 860a1e1..46037df 100644
--- a/camel-core/src/main/java/org/apache/camel/component/timer/TimerEndpoint.java
+++ b/camel-core/src/main/java/org/apache/camel/component/timer/TimerEndpoint.java
@@ -46,7 +46,8 @@ public class TimerEndpoint extends DefaultEndpoint implements MultipleConsumersS
@UriParam(defaultValue = "1000", description = "If greater than 0, generate periodic events every period milliseconds."
+ " You can also specify time values using units, such as 60s (60 seconds), 5m30s (5 minutes and 30 seconds), and 1h (1 hour).")
private long period = 1000;
- @UriParam(defaultValue = "1000")
+ @UriParam(defaultValue = "1000", description = "Miliseconds before first event is triggered."
+ + " You can also specify time values using units, such as 60s (60 seconds), 5m30s (5 minutes and 30 seconds), and 1h (1 hour).")
private long delay = 1000;
@UriParam(defaultValue = "0")
private long repeatCount;
@@ -150,6 +151,8 @@ public class TimerEndpoint extends DefaultEndpoint implements MultipleConsumersS
* The number of milliseconds to wait before the first event is generated. Should not be used in conjunction with the time option.
* <p/>
* The default value is 1000.
+ * You can also specify time values using units, such as 60s (60 seconds), 5m30s (5 minutes and 30 seconds), and 1h (1 hour).
+ * @see <a href="http://camel.apache.org/how-do-i-specify-time-period-in-a-human-friendly-syntax.html">human friendly syntax</a>
*/
@ManagedAttribute(description = "Timer Delay")
public void setDelay(long delay) {
http://git-wip-us.apache.org/repos/asf/camel/blob/2dc72d13/camel-core/src/main/java/org/apache/camel/impl/ScheduledPollEndpoint.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/ScheduledPollEndpoint.java b/camel-core/src/main/java/org/apache/camel/impl/ScheduledPollEndpoint.java
index 2d4c97e..6f0b052 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/ScheduledPollEndpoint.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/ScheduledPollEndpoint.java
@@ -52,7 +52,8 @@ public abstract class ScheduledPollEndpoint extends DefaultEndpoint {
+ " You can also specify time values using units, such as 60s (60 seconds), 5m30s (5 minutes and 30 seconds), and 1h (1 hour).")
private long initialDelay = 1000;
@UriParam(optionalPrefix = "consumer.", defaultValue = "500", label = "consumer,scheduler",
- description = "Milliseconds before the next poll.")
+ description = "Milliseconds before the next poll."
+ + " You can also specify time values using units, such as 60s (60 seconds), 5m30s (5 minutes and 30 seconds), and 1h (1 hour).")
private long delay = 500;
@UriParam(optionalPrefix = "consumer.", defaultValue = "MILLISECONDS", label = "consumer,scheduler",
description = "Time unit for initialDelay and delay options.")
@@ -267,6 +268,10 @@ public abstract class ScheduledPollEndpoint extends DefaultEndpoint {
/**
* Milliseconds before the next poll.
+ * <p/>
+ * The default value is 500.
+ * You can also specify time values using units, such as 60s (60 seconds), 5m30s (5 minutes and 30 seconds), and 1h (1 hour).
+ * @see <a href="http://camel.apache.org/how-do-i-specify-time-period-in-a-human-friendly-syntax.html">human friendly syntax</a>
*/
public void setDelay(long delay) {
this.delay = delay;
[2/2] camel git commit: Updated docs. This closes #979. This closes
#975. This closes #976. This closes #977.
Posted by da...@apache.org.
Updated docs. This closes #979. This closes #975. This closes #976. This closes #977.
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/40b48c91
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/40b48c91
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/40b48c91
Branch: refs/heads/master
Commit: 40b48c91e93bdbb1337269dc5b6df167d17bb548
Parents: 2dc72d1
Author: Claus Ibsen <da...@apache.org>
Authored: Thu May 5 17:15:01 2016 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Thu May 5 17:15:01 2016 +0200
----------------------------------------------------------------------
components/camel-aws/src/main/docs/aws-ddbstream.adoc | 4 +++-
components/camel-aws/src/main/docs/aws-kinesis.adoc | 4 +++-
components/camel-aws/src/main/docs/aws-s3.adoc | 4 +++-
components/camel-aws/src/main/docs/aws-sqs.adoc | 4 +++-
components/camel-ftp/src/main/docs/ftp.adoc | 4 +++-
components/camel-hipchat/src/main/docs/hipchat.adoc | 4 +++-
components/camel-ibatis/src/main/docs/ibatis.adoc | 4 +++-
components/camel-ironmq/src/main/docs/ironmq.adoc | 4 +++-
components/camel-jpa/src/main/docs/jpa.adoc | 4 +++-
components/camel-jt400/src/main/docs/jt400.adoc | 4 +++-
components/camel-krati/src/main/docs/krati.adoc | 4 +++-
11 files changed, 33 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/40b48c91/components/camel-aws/src/main/docs/aws-ddbstream.adoc
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/docs/aws-ddbstream.adoc b/components/camel-aws/src/main/docs/aws-ddbstream.adoc
index d9b25fe..e6018b2 100644
--- a/components/camel-aws/src/main/docs/aws-ddbstream.adoc
+++ b/components/camel-aws/src/main/docs/aws-ddbstream.adoc
@@ -38,6 +38,7 @@ The AWS DynamoDB Streams component has no options.
+
// endpoint options: START
The AWS DynamoDB Streams component supports 24 endpoint options which are listed below:
@@ -58,7 +59,7 @@ The AWS DynamoDB Streams component supports 24 endpoint options which are listed
| backoffErrorThreshold | scheduler | | int | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.
| backoffIdleThreshold | scheduler | | int | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.
| backoffMultiplier | scheduler | | int | 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 happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.
-| delay | scheduler | 500 | long | Milliseconds before the next poll.
+| delay | scheduler | 500 | long | Milliseconds before the next poll. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| greedy | scheduler | false | boolean | If greedy is enabled then the ScheduledPollConsumer will run immediately again if the previous run polled 1 or more messages.
| initialDelay | scheduler | 1000 | long | Milliseconds before the first poll starts. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| runLoggingLevel | scheduler | TRACE | LoggingLevel | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.
@@ -73,6 +74,7 @@ The AWS DynamoDB Streams component supports 24 endpoint options which are listed
+
Required DynampDBStream component options
You have to provide the�amazonDynamoDbStreamsClient in the
http://git-wip-us.apache.org/repos/asf/camel/blob/40b48c91/components/camel-aws/src/main/docs/aws-kinesis.adoc
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/docs/aws-kinesis.adoc b/components/camel-aws/src/main/docs/aws-kinesis.adoc
index 375f458..fa6974c 100644
--- a/components/camel-aws/src/main/docs/aws-kinesis.adoc
+++ b/components/camel-aws/src/main/docs/aws-kinesis.adoc
@@ -39,6 +39,7 @@ The AWS Kinesis component has no options.
+
// endpoint options: START
The AWS Kinesis component supports 25 endpoint options which are listed below:
@@ -60,7 +61,7 @@ The AWS Kinesis component supports 25 endpoint options which are listed below:
| backoffErrorThreshold | scheduler | | int | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.
| backoffIdleThreshold | scheduler | | int | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.
| backoffMultiplier | scheduler | | int | 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 happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.
-| delay | scheduler | 500 | long | Milliseconds before the next poll.
+| delay | scheduler | 500 | long | Milliseconds before the next poll. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| greedy | scheduler | false | boolean | If greedy is enabled then the ScheduledPollConsumer will run immediately again if the previous run polled 1 or more messages.
| initialDelay | scheduler | 1000 | long | Milliseconds before the first poll starts. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| runLoggingLevel | scheduler | TRACE | LoggingLevel | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.
@@ -76,6 +77,7 @@ The AWS Kinesis component supports 25 endpoint options which are listed below:
+
Required Kinesis component options
You have to provide the�amazonKinesisClient in the
http://git-wip-us.apache.org/repos/asf/camel/blob/40b48c91/components/camel-aws/src/main/docs/aws-s3.adoc
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/docs/aws-s3.adoc b/components/camel-aws/src/main/docs/aws-s3.adoc
index 5f0d4a6..70a02a6 100644
--- a/components/camel-aws/src/main/docs/aws-s3.adoc
+++ b/components/camel-aws/src/main/docs/aws-s3.adoc
@@ -40,6 +40,7 @@ The AWS S3 Storage Service component has no options.
+
// endpoint options: START
The AWS S3 Storage Service component supports 38 endpoint options which are listed below:
@@ -74,7 +75,7 @@ The AWS S3 Storage Service component supports 38 endpoint options which are list
| backoffErrorThreshold | scheduler | | int | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.
| backoffIdleThreshold | scheduler | | int | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.
| backoffMultiplier | scheduler | | int | 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 happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.
-| delay | scheduler | 500 | long | Milliseconds before the next poll.
+| delay | scheduler | 500 | long | Milliseconds before the next poll. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| greedy | scheduler | false | boolean | If greedy is enabled then the ScheduledPollConsumer will run immediately again if the previous run polled 1 or more messages.
| initialDelay | scheduler | 1000 | long | Milliseconds before the first poll starts. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| runLoggingLevel | scheduler | TRACE | LoggingLevel | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.
@@ -90,6 +91,7 @@ The AWS S3 Storage Service component supports 38 endpoint options which are list
+
Required S3 component options
You have to provide the amazonS3Client in the
http://git-wip-us.apache.org/repos/asf/camel/blob/40b48c91/components/camel-aws/src/main/docs/aws-sqs.adoc
----------------------------------------------------------------------
diff --git a/components/camel-aws/src/main/docs/aws-sqs.adoc b/components/camel-aws/src/main/docs/aws-sqs.adoc
index 12b8ce3..f2d8a4e 100644
--- a/components/camel-aws/src/main/docs/aws-sqs.adoc
+++ b/components/camel-aws/src/main/docs/aws-sqs.adoc
@@ -39,6 +39,7 @@ The AWS Simple Queue Service component has no options.
+
// endpoint options: START
The AWS Simple Queue Service component supports 45 endpoint options which are listed below:
@@ -80,7 +81,7 @@ The AWS Simple Queue Service component supports 45 endpoint options which are li
| backoffErrorThreshold | scheduler | | int | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.
| backoffIdleThreshold | scheduler | | int | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.
| backoffMultiplier | scheduler | | int | 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 happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.
-| delay | scheduler | 500 | long | Milliseconds before the next poll.
+| delay | scheduler | 500 | long | Milliseconds before the next poll. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| greedy | scheduler | false | boolean | If greedy is enabled then the ScheduledPollConsumer will run immediately again if the previous run polled 1 or more messages.
| initialDelay | scheduler | 1000 | long | Milliseconds before the first poll starts. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| runLoggingLevel | scheduler | TRACE | LoggingLevel | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.
@@ -96,6 +97,7 @@ The AWS Simple Queue Service component supports 45 endpoint options which are li
+
Required SQS component options
You have to provide the amazonSQSClient in the
http://git-wip-us.apache.org/repos/asf/camel/blob/40b48c91/components/camel-ftp/src/main/docs/ftp.adoc
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/main/docs/ftp.adoc b/components/camel-ftp/src/main/docs/ftp.adoc
index 87240d0..56217e7 100644
--- a/components/camel-ftp/src/main/docs/ftp.adoc
+++ b/components/camel-ftp/src/main/docs/ftp.adoc
@@ -111,6 +111,7 @@ The FTP component has no options.
// component options: END
+
// endpoint options: START
The FTP component supports 100 endpoint options which are listed below:
@@ -201,7 +202,7 @@ The FTP component supports 100 endpoint options which are listed below:
| backoffErrorThreshold | scheduler | | int | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.
| backoffIdleThreshold | scheduler | | int | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.
| backoffMultiplier | scheduler | | int | 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 happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.
-| delay | scheduler | 500 | long | Milliseconds before the next poll.
+| delay | scheduler | 500 | long | Milliseconds before the next poll. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| greedy | scheduler | false | boolean | If greedy is enabled then the ScheduledPollConsumer will run immediately again if the previous run polled 1 or more messages.
| initialDelay | scheduler | 1000 | long | Milliseconds before the first poll starts. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| runLoggingLevel | scheduler | TRACE | LoggingLevel | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.
@@ -222,6 +223,7 @@ The FTP component supports 100 endpoint options which are listed below:
+
[Info]
====
FTPS component default trust store
http://git-wip-us.apache.org/repos/asf/camel/blob/40b48c91/components/camel-hipchat/src/main/docs/hipchat.adoc
----------------------------------------------------------------------
diff --git a/components/camel-hipchat/src/main/docs/hipchat.adoc b/components/camel-hipchat/src/main/docs/hipchat.adoc
index b72708e..26f9f6c 100644
--- a/components/camel-hipchat/src/main/docs/hipchat.adoc
+++ b/components/camel-hipchat/src/main/docs/hipchat.adoc
@@ -38,6 +38,7 @@ The Hipchat component has no options.
+
// endpoint options: START
The Hipchat component supports 24 endpoint options which are listed below:
@@ -58,7 +59,7 @@ The Hipchat component supports 24 endpoint options which are listed below:
| backoffErrorThreshold | scheduler | | int | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.
| backoffIdleThreshold | scheduler | | int | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.
| backoffMultiplier | scheduler | | int | 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 happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.
-| delay | scheduler | 500 | long | Milliseconds before the next poll.
+| delay | scheduler | 500 | long | Milliseconds before the next poll. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| greedy | scheduler | false | boolean | If greedy is enabled then the ScheduledPollConsumer will run immediately again if the previous run polled 1 or more messages.
| initialDelay | scheduler | 1000 | long | Milliseconds before the first poll starts. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| runLoggingLevel | scheduler | TRACE | LoggingLevel | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.
@@ -74,6 +75,7 @@ The Hipchat component supports 24 endpoint options which are listed below:
+
[[Hipchat-ScheduledPollConsumer]]
Scheduled Poll Consumer
^^^^^^^^^^^^^^^^^^^^^^^
http://git-wip-us.apache.org/repos/asf/camel/blob/40b48c91/components/camel-ibatis/src/main/docs/ibatis.adoc
----------------------------------------------------------------------
diff --git a/components/camel-ibatis/src/main/docs/ibatis.adoc b/components/camel-ibatis/src/main/docs/ibatis.adoc
index 8744730..d000f81 100644
--- a/components/camel-ibatis/src/main/docs/ibatis.adoc
+++ b/components/camel-ibatis/src/main/docs/ibatis.adoc
@@ -74,6 +74,7 @@ The iBatis component supports 3 options which are listed below.
+
// endpoint options: START
The iBatis component supports 28 endpoint options which are listed below:
@@ -98,7 +99,7 @@ The iBatis component supports 28 endpoint options which are listed below:
| backoffErrorThreshold | scheduler | | int | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.
| backoffIdleThreshold | scheduler | | int | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.
| backoffMultiplier | scheduler | | int | 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 happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.
-| delay | scheduler | 500 | long | Milliseconds before the next poll.
+| delay | scheduler | 500 | long | Milliseconds before the next poll. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| greedy | scheduler | false | boolean | If greedy is enabled then the ScheduledPollConsumer will run immediately again if the previous run polled 1 or more messages.
| initialDelay | scheduler | 1000 | long | Milliseconds before the first poll starts. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| runLoggingLevel | scheduler | TRACE | LoggingLevel | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.
@@ -113,6 +114,7 @@ The iBatis component supports 28 endpoint options which are listed below:
+
[[iBATIS-MessageHeaders]]
Message Headers
^^^^^^^^^^^^^^^
http://git-wip-us.apache.org/repos/asf/camel/blob/40b48c91/components/camel-ironmq/src/main/docs/ironmq.adoc
----------------------------------------------------------------------
diff --git a/components/camel-ironmq/src/main/docs/ironmq.adoc b/components/camel-ironmq/src/main/docs/ironmq.adoc
index 24f0600..a1cd701 100644
--- a/components/camel-ironmq/src/main/docs/ironmq.adoc
+++ b/components/camel-ironmq/src/main/docs/ironmq.adoc
@@ -43,6 +43,7 @@ Options
+
// endpoint options: START
The ironmq component supports 31 endpoint options which are listed below:
@@ -70,7 +71,7 @@ The ironmq component supports 31 endpoint options which are listed below:
| backoffErrorThreshold | scheduler | | int | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.
| backoffIdleThreshold | scheduler | | int | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.
| backoffMultiplier | scheduler | | int | 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 happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.
-| delay | scheduler | 500 | long | Milliseconds before the next poll.
+| delay | scheduler | 500 | long | Milliseconds before the next poll. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| greedy | scheduler | false | boolean | If greedy is enabled then the ScheduledPollConsumer will run immediately again if the previous run polled 1 or more messages.
| initialDelay | scheduler | 1000 | long | Milliseconds before the first poll starts. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| runLoggingLevel | scheduler | TRACE | LoggingLevel | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.
@@ -86,6 +87,7 @@ The ironmq component supports 31 endpoint options which are listed below:
+
[[IronMQ-IronMQComponentOptions]]
IronMQComponent Options
^^^^^^^^^^^^^^^^^^^^^^^
http://git-wip-us.apache.org/repos/asf/camel/blob/40b48c91/components/camel-jpa/src/main/docs/jpa.adoc
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/main/docs/jpa.adoc b/components/camel-jpa/src/main/docs/jpa.adoc
index f71b39e..b3155dd 100644
--- a/components/camel-jpa/src/main/docs/jpa.adoc
+++ b/components/camel-jpa/src/main/docs/jpa.adoc
@@ -107,6 +107,7 @@ The JPA component supports 4 options which are listed below.
+
// endpoint options: START
The JPA component supports 42 endpoint options which are listed below:
@@ -145,7 +146,7 @@ The JPA component supports 42 endpoint options which are listed below:
| backoffErrorThreshold | scheduler | | int | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.
| backoffIdleThreshold | scheduler | | int | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.
| backoffMultiplier | scheduler | | int | 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 happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.
-| delay | scheduler | 500 | long | Milliseconds before the next poll.
+| delay | scheduler | 500 | long | Milliseconds before the next poll. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| greedy | scheduler | false | boolean | If greedy is enabled then the ScheduledPollConsumer will run immediately again if the previous run polled 1 or more messages.
| initialDelay | scheduler | 1000 | long | Milliseconds before the first poll starts. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| runLoggingLevel | scheduler | TRACE | LoggingLevel | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.
@@ -160,6 +161,7 @@ The JPA component supports 42 endpoint options which are listed below:
+
[[JPA-MessageHeaders]]
Message Headers
^^^^^^^^^^^^^^^
http://git-wip-us.apache.org/repos/asf/camel/blob/40b48c91/components/camel-jt400/src/main/docs/jt400.adoc
----------------------------------------------------------------------
diff --git a/components/camel-jt400/src/main/docs/jt400.adoc b/components/camel-jt400/src/main/docs/jt400.adoc
index 610d010..c3fd3e1 100644
--- a/components/camel-jt400/src/main/docs/jt400.adoc
+++ b/components/camel-jt400/src/main/docs/jt400.adoc
@@ -57,6 +57,7 @@ The JT400 component supports 1 options which are listed below.
+
// endpoint options: START
The JT400 component supports 33 endpoint options which are listed below:
@@ -86,7 +87,7 @@ The JT400 component supports 33 endpoint options which are listed below:
| backoffErrorThreshold | scheduler | | int | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.
| backoffIdleThreshold | scheduler | | int | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.
| backoffMultiplier | scheduler | | int | 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 happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.
-| delay | scheduler | 500 | long | Milliseconds before the next poll.
+| delay | scheduler | 500 | long | Milliseconds before the next poll. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| greedy | scheduler | false | boolean | If greedy is enabled then the ScheduledPollConsumer will run immediately again if the previous run polled 1 or more messages.
| initialDelay | scheduler | 1000 | long | Milliseconds before the first poll starts. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| runLoggingLevel | scheduler | TRACE | LoggingLevel | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.
@@ -101,6 +102,7 @@ The JT400 component supports 33 endpoint options which are listed below:
+
[[JT400-Usage]]
Usage
^^^^^
http://git-wip-us.apache.org/repos/asf/camel/blob/40b48c91/components/camel-krati/src/main/docs/krati.adoc
----------------------------------------------------------------------
diff --git a/components/camel-krati/src/main/docs/krati.adoc b/components/camel-krati/src/main/docs/krati.adoc
index 8e2595b..08cf357 100644
--- a/components/camel-krati/src/main/docs/krati.adoc
+++ b/components/camel-krati/src/main/docs/krati.adoc
@@ -54,6 +54,7 @@ The Krati component has no options.
+
// endpoint options: START
The Krati component supports 30 endpoint options which are listed below:
@@ -80,7 +81,7 @@ The Krati component supports 30 endpoint options which are listed below:
| backoffErrorThreshold | scheduler | | int | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in.
| backoffIdleThreshold | scheduler | | int | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in.
| backoffMultiplier | scheduler | | int | 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 happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured.
-| delay | scheduler | 500 | long | Milliseconds before the next poll.
+| delay | scheduler | 500 | long | Milliseconds before the next poll. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| greedy | scheduler | false | boolean | If greedy is enabled then the ScheduledPollConsumer will run immediately again if the previous run polled 1 or more messages.
| initialDelay | scheduler | 1000 | long | Milliseconds before the first poll starts. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour).
| runLoggingLevel | scheduler | TRACE | LoggingLevel | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that.
@@ -95,6 +96,7 @@ The Krati component supports 30 endpoint options which are listed below:
+
[source,java]
------------------------------------------------------------------------------------------------
krati:/tmp/krati?operation=CamelKratiGet&initialCapacity=10000&keySerializer=#myCustomSerializer