DestinationFactoryManager dfm = bus.getExtension(DestinationFactoryManager.class);
if (null != dfm && getTransportIds() != null) {
for (String ns : getTransportIds()) {
try {
if (dfm.getDestinationFactory(ns) == this) {
dfm.deregisterDestinationFactory(ns);
}
} catch (BusException e) {
//ignore
}
}