break;
}
hasconsumer = true;
Iterator itrr = d.getAllActiveConsumers().iterator();
while (itrr.hasNext()) {
Consumer c = (Consumer)itrr.next();
IMQConnection conn = (IMQConnection)cm.getConnection(c.getConnectionUID());
BrokerAddress ba = c.getConsumerUID().getBrokerAddress();
if ((conn != null && conn.isConnectionStarted()) ||
(ba != null && ba != Globals.getMyAddress())) {
notifications.put(d.getDestinationUID(),
new ConsumerInfoNotification(
d.getDestinationUID(),
d.getType(), CONSUMER_READY,
((ConsumerInfoRequestEvent)o).infoType, true));
notifyadded = true;
break;
}
}
break;
}
if (e.duid.isWildcard() && DestinationUID.match(d.getDestinationUID(), e.duid)) {
foundmatch = true;
if (d.getAllActiveConsumerCount() == 0) {
continue;
}
hasconsumer = true;
Iterator itrr = d.getAllActiveConsumers().iterator();
while (itrr.hasNext()) {
Consumer c = (Consumer)itrr.next();
IMQConnection conn = (IMQConnection)cm.getConnection(c.getConnectionUID());
BrokerAddress ba = c.getConsumerUID().getBrokerAddress();
if ((conn != null && conn.isConnectionStarted()) ||
(ba != null && ba != Globals.getMyAddress())) {
notifications.put(d.getDestinationUID(),
new ConsumerInfoNotification(
d.getDestinationUID(),