public void onInternalEndpointUnregistered(EndpointEvent event, boolean broadcast) {
try{
String key = EndpointSupport.getKey(event.getEndpoint());
JCAConnector connector=(JCAConnector) connectorMap.remove(key);
if(connector!=null){
connector.destroy();
}
// broadcast change to the network
if (broadcast) {
log.debug(broker.getContainer().getName() + ": broadcasting info for " + event);
sendJmsMessage(broadcastTopic, event, false, false);