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 2017/02/19 16:56:39 UTC

[3/3] camel git commit: Polished

Polished


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/4b81fbbc
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/4b81fbbc
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/4b81fbbc

Branch: refs/heads/master
Commit: 4b81fbbce759099b688c0437095c38a0a1c94c75
Parents: 593dffe
Author: Claus Ibsen <da...@apache.org>
Authored: Sun Feb 19 17:56:41 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Sun Feb 19 17:56:41 2017 +0100

----------------------------------------------------------------------
 .../apache/camel/component/consul/policy/ConsulRoutePolicy.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/4b81fbbc/components/camel-consul/src/main/java/org/apache/camel/component/consul/policy/ConsulRoutePolicy.java
----------------------------------------------------------------------
diff --git a/components/camel-consul/src/main/java/org/apache/camel/component/consul/policy/ConsulRoutePolicy.java b/components/camel-consul/src/main/java/org/apache/camel/component/consul/policy/ConsulRoutePolicy.java
index f0d3083..17c9c43 100644
--- a/components/camel-consul/src/main/java/org/apache/camel/component/consul/policy/ConsulRoutePolicy.java
+++ b/components/camel-consul/src/main/java/org/apache/camel/component/consul/policy/ConsulRoutePolicy.java
@@ -252,7 +252,7 @@ public class ConsulRoutePolicy extends RoutePolicySupport implements CamelContex
         this.servicePath = String.format("/service/%s/leader", serviceName);
     }
 
-    @ManagedAttribute(description = "The time to live")
+    @ManagedAttribute(description = "The time to live (seconds)")
     public int getTtl() {
         return ttl;
     }
@@ -261,7 +261,7 @@ public class ConsulRoutePolicy extends RoutePolicySupport implements CamelContex
         this.ttl = ttl > 10 ? ttl : 10;
     }
 
-    @ManagedAttribute(description = "The lock delay")
+    @ManagedAttribute(description = "The lock delay (seconds)")
     public int getLockDelay() {
         return lockDelay;
     }