public void onAdminCommandEvent(String name, Object event) {
if (name == null || event == null) {
return;
}
if (BrokerListenerRegEvent.EVENT_NAME_LISTENER_REG.equals(name)) {
BrokerListenerRegEvent blre = (BrokerListenerRegEvent) event;
broker = blre.getBroker();
return;
}
if (name.startsWith(AdminCommandEventBroker.LOCAL_EVENT_PREFIX)) {
return; //Prevent events from client to be send back to client
}