@Override
	public final void stop() throws JMSException
    {
    	externalAccessLock.readLock().lock();
    	try
		{
	        checkNotClosed();
	        if (!started)
	            return;
	        started = false;
	        
	        // Wait for running deliveries to complete ...
	        waitForDeliverySync();
		}
    	finally
    	{
    		externalAccessLock.readLock().unlock();
    	}
    }
@ Override public final void stop ( ) throws JMSException { externalAccessLock . readLock ( ) . lock ( ) ; try { checkNotClosed ( ) ; if ( ! started ) return ; started = false ; waitForDeliverySync ( ) ; } finally { externalAccessLock . readLock ( ) . unlock ( ) ; } }
/*
(non-Javadoc)
@see javax.jms.Connection#stop()