addSubscriber(sub.getConsumerReference().getReference());
} else if (eo instanceof ConnectionOverride) {
ConnectionOverride co = (ConnectionOverride)eo;
replaceSubscribers(co.getBrokerConsumerReference().getReference());
} else if (eo instanceof ReplaceBrokerConnection) {
ReplaceBrokerConnection rbc = (ReplaceBrokerConnection)eo;
URL removedBrokerConsumerEpr = rbc.getRemovedBroker().getReference().getEndpointAddress().getAddress();
if (rbc.getNeighbors() != null) {
int choice = rbc.getNeighbors().getBrokerSequence().size() - 1;
Broker chosenBroker = rbc.getNeighbors().getBrokerSequence().get(choice);
replaceBrokerSubscriber(removedBrokerConsumerEpr,
chosenBroker.getBrokerConsumerReference().getReference());
brokerManager.replaceConsumersBrokerConnection(notificationType,
chosenBroker.getBrokerProducerReference().getReference());
} else {