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;
    }
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.
@param strQueueName The queue name to service.
@param strQueueType The queue type.
@return The RemoteSendQueue.