logger.log(Logger.ERROR, msg);
msg = "BAD REQUEST";
} else {
try {
ClusterManager cm = Globals.getClusterManager();
MQAddress self = cm.getMQAddress();
String brokerlist = (String)cmd_props.get(MessageType.JMQ_CLUSTER_BROKERLIST);
Set brokers = ClusterManagerImpl.parseBrokerList(brokerlist);
MQAddress master = (cm.getMasterBroker() == null ?
null:cm.getMasterBroker().getBrokerURL());
logger.log(logger.INFO, rb.getKString(rb.I_UPDATE_BROKERLIST,
self+(master == null ?"]":"("+ClusterManagerImpl.CONFIG_SERVER+"="+master+")"),
"["+brokerlist+"]"));
if (master != null && !brokers.contains(master)) {
msg = rb.getKString(rb.X_REMOVE_MASTERBROKER_NOT_ALLOWED,