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 3de65682ce.
This commit is contained in:
Clebert Suconic 2016-11-02 18:52:36 -04:00
parent 9f7fc88363
commit e89f6a1bfd
1 changed files with 1 additions and 1 deletions

View File

@ -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;