activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [1/2] activemq-artemis git commit: Revert "ARTEMIS-833 maxHops defaults to 0 when creating artemis cluster configuration through cli" this is breaking client size load balance example.
Date Wed, 02 Nov 2016 23:01:25 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 9f7fc8836 -> 5965a4589


Revert "ARTEMIS-833 maxHops defaults to 0 when creating artemis cluster configuration through
cli"
this is breaking client size load balance example.

This reverts commit 3de65682cecfaf2f37ae41cd709d983cd0418c3c.


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/e89f6a1b
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/e89f6a1b
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/e89f6a1b

Branch: refs/heads/master
Commit: e89f6a1bfdc6a29422022717e231234c150f314b
Parents: 9f7fc88
Author: Clebert Suconic <clebertsuconic@apache.org>
Authored: Wed Nov 2 18:52:36 2016 -0400
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Wed Nov 2 19:00:09 2016 -0400

----------------------------------------------------------------------
 .../main/java/org/apache/activemq/artemis/cli/commands/Create.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/e89f6a1b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
----------------------------------------------------------------------
diff --git a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
index 5bd55e9..77a2e68 100644
--- a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
+++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
@@ -137,7 +137,7 @@ public class Create extends InputAbstract {
    boolean clustered = false;
 
    @Option(name = "--max-hops", description = "Number of hops on the cluster configuration")
-   int maxHops = 1;
+   int maxHops = 0;
 
    @Option(name = "--message-load-balancing", description = "Load balancing policy on cluster.
[ON_DEMAND (default) | STRICT | OFF]")
    MessageLoadBalancingType messageLoadBalancing = MessageLoadBalancingType.ON_DEMAND;


Mime
View raw message