public synchronized Destination removeDestination(String destinationName) { Destination destinationModel = _destinations.remove(destinationName); if (destinationModel != null) { destinationModel.removeDestinationEventListeners(); destinationModel.unregisterMessageListeners(); fireDestinationRemovedEvent(destinationModel); } return destinationModel; }