if (consumers.get(cuid) != null) {
String emsg = Globals.getBrokerResources().getKString(
BrokerResources.I_CONSUMER_ALREADY_ADDED,
cuid, c.getDestinationUID());
logger.log(logger.INFO, emsg+" (CLUSTER_ROUTER)");
throw new ConsumerAlreadyAddedException(emsg);
}
if (! (c instanceof Subscription)) {
consumers.put(cuid, c);
pendingConsumerUIDs.put(cuid, null);