code: public boolean removeMessagingClientFactory(IMessagingClientFactory factory) {
  
  		final String type = factory.getType();
  		this.logger.fine("Removing messaging client factory: " + type);
  		final boolean result = this.factories.remove(type, factory);
  		if (result)
  			notifyListeners(factory, false);
  
  		return result;
  	}
docs: Removes a messaging client factory from this registry.
  @param factory the messaging client factory to remove.
  @return {@code true} if the factory has been removed, {@code false} if the factory was not registered.