if(operation.hasDefined(DISCOVERY_GROUP_NAME)) {
config.setDiscoveryGroupName(operation.get(DISCOVERY_GROUP_NAME).asString());
}
config.setDupsOKBatchSize(operation.get(DUPS_OK_BATCH_SIZE).asInt(HornetQClient.DEFAULT_ACK_BATCH_SIZE));
config.setFailoverOnInitialConnection(operation.get(FAILOVER_ON_INITIAL_CONNECTION).asBoolean(HornetQClient.DEFAULT_FAILOVER_ON_INITIAL_CONNECTION));
<BUG>config.setFailoverOnServerShutdown(operation.get(FAILOVER_ON_SERVER_SHUTDOWN).asBoolean(HornetQClient.DEFAULT_FAILOVER_ON_SERVER_SHUTDOWN));</BUG>
if(operation.hasDefined(GROUP_ID)) {
config.setGroupID(operation.get(GROUP_ID).asString());
}
<BUG>config.setInitialWaitTimeout(operation.get(DISCOVERY_INITIAL_WAIT_TIMEOUT).asLong(HornetQClient.DEFAULT_DISCOVERY_INITIAL_WAIT_TIMEOUT));</BUG>
if (operation.hasDefined(LOAD_BALANCING_CLASS_NAME)) {

if(operation.hasDefined(DISCOVERY_GROUP_NAME)) {
config.setDiscoveryGroupName(operation.get(DISCOVERY_GROUP_NAME).asString());
}
config.setDupsOKBatchSize(operation.get(DUPS_OK_BATCH_SIZE).asInt(HornetQClient.DEFAULT_ACK_BATCH_SIZE));
config.setFailoverOnInitialConnection(operation.get(FAILOVER_ON_INITIAL_CONNECTION).asBoolean(HornetQClient.DEFAULT_FAILOVER_ON_INITIAL_CONNECTION));
if(operation.hasDefined(GROUP_ID)) {
config.setGroupID(operation.get(GROUP_ID).asString());
}
if (operation.hasDefined(LOAD_BALANCING_CLASS_NAME)) {
