Repository: camel Updated Branches: refs/heads/camel-2.16.x 999fe637b -> e91ec814b refs/heads/master 0e80e9ba2 -> 91e312012
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/91e31201 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/91e31201 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/91e31201 Branch: refs/heads/master Commit: 91e31201246fb6ab6c60b466b61b7579c7ab7a37 Parents: 0e80e9b Author: Claus Ibsen <[email protected]> Authored: Tue Nov 3 16:03:53 2015 +0100 Committer: Claus Ibsen <[email protected]> Committed: Tue Nov 3 16:03:53 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/91e31201/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;
