@Override
	protected final void sendToDestination(Destination destination, boolean destinationOverride, Message srcMessage, int deliveryMode, int priority, long timeToLive) throws JMSException
    {
    	externalAccessLock.readLock().lock();
    	try
		{
	    	checkNotClosed();
	    	
	    	((RemoteSession)session).dispatch(srcMessage);
		}
    	finally
    	{
    		externalAccessLock.readLock().unlock();
    	}
    }
@ Override protected final void sendToDestination ( Destination destination , boolean destinationOverride , Message srcMessage , int deliveryMode , int priority , long timeToLive ) throws JMSException { externalAccessLock . readLock ( ) . lock ( ) ; try { checkNotClosed ( ) ; ( ( RemoteSession ) session ) . dispatch ( srcMessage ) ; } finally { externalAccessLock . readLock ( ) . unlock ( ) ; } }
/* (non-Javadoc)
@see net.timewalker.ffmq4.common.session.AbstractMessageProducer#sendToDestination(javax.jms.Destination, boolean, javax.jms.Message, int, int, long)