public RemoteSendQueue createRemoteSendQueue ( String strQueueName , String strQueueType ) throws RemoteException { MessageManager messageManager = this . getEnvironment ( ) . getMessageManager ( this . getApplication ( ) , true ) ; BaseMessageSender sender = ( BaseMessageSender ) messageManager . getMessageQueue ( strQueueName , strQueueType ) . getMessageSender ( ) ; SendQueueSession remoteQueue = new SendQueueSession ( this , sender ) ; return remoteQueue ; }
Create the remote send queue .