code: protected IMessagingClient createMessagingClient( String factoryName ) throws IOException {
  
  		IMessagingClient client = null;
  		MessagingClientFactoryRegistry registry = getRegistry();
  		if( registry != null ) {
  			IMessagingClientFactory factory = registry.getMessagingClientFactory(factoryName);
  			if( factory != null )
  				client = factory.createClient( this );
  		}
  
  		return client;
  	}
docs: Creates a new messaging client.
  @param factoryName the factory name (see {@link MessagingConstants})
  @return a new messaging client, or {@code null} if {@code factoryName} is {@code null} or cannot be found in the
  available messaging factories.
  @throws IOException if something went wrong