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 2015/11/03 16:01:08 UTC
[2/2] camel git commit: Reorder timer options so advanced are last
Reorder timer options so advanced are last
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e91ec814
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e91ec814
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e91ec814
Branch: refs/heads/camel-2.16.x
Commit: e91ec814bafdd65b5c9ebad334c06107e3cd53e3
Parents: 999fe63
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Nov 3 16:03:53 2015 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Nov 3 16:04:14 2015 +0100
----------------------------------------------------------------------
.../java/org/apache/camel/component/timer/TimerEndpoint.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/e91ec814/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 8ec33ff..b88583d 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
@@ -43,18 +43,18 @@ import org.apache.camel.spi.UriPath;
public class TimerEndpoint extends DefaultEndpoint implements MultipleConsumersSupport {
@UriPath @Metadata(required = "true")
private String timerName;
- @UriParam(label = "advanced")
- private Date time;
@UriParam(defaultValue = "1000")
private long period = 1000;
@UriParam(defaultValue = "1000")
private long delay = 1000;
+ @UriParam(defaultValue = "0")
+ private long repeatCount;
@UriParam
private boolean fixedRate;
@UriParam(defaultValue = "true", label = "advanced")
private boolean daemon = true;
- @UriParam(defaultValue = "0")
- private long repeatCount;
+ @UriParam(label = "advanced")
+ private Date time;
@UriParam(label = "advanced")
private Timer timer;