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 ; }
Creates a new messaging client .