camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [2/2] camel git commit: CAMEL-10860: camel-hazelcast - route policy should have a better try lock default value
Date Sun, 19 Feb 2017 11:47:58 GMT
CAMEL-10860: camel-hazelcast - route policy should have a better try lock default value


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

Branch: refs/heads/master
Commit: 72025be030b0d0e74daa9603361ffd0da672007b
Parents: 1494988
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Sun Feb 19 12:47:16 2017 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Sun Feb 19 12:47:16 2017 +0100

----------------------------------------------------------------------
 .../camel/component/hazelcast/policy/HazelcastRoutePolicy.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/72025be0/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
----------------------------------------------------------------------
diff --git a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
index 1b514b2..94d332f 100644
--- a/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
+++ b/components/camel-hazelcast/src/main/java/org/apache/camel/component/hazelcast/policy/HazelcastRoutePolicy.java
@@ -70,7 +70,7 @@ public class HazelcastRoutePolicy extends RoutePolicySupport implements
CamelCon
         this.lockMapName = null;
         this.lockKey = null;
         this.lockValue = null;
-        this.tryLockTimeout = Long.MAX_VALUE;
+        this.tryLockTimeout = 10 * 1000;
         this.tryLockTimeoutUnit = TimeUnit.MILLISECONDS;
         this.locks = null;
         this.future = null;


Mime
View raw message