code: public final void rollback( boolean rollbackGets, List<String> deliveredMessageIDs ) throws JMSException
      {
      	if (!transacted)
              throw new IllegalStateException("Session is not transacted"); // [JMS SPEC]
      	
      	externalAccessLock.readLock().lock();
      	try
  		{
  	    	checkNotClosed();
  	        rollbackUpdates(true,rollbackGets, deliveredMessageIDs);
  		}
      	finally
      	{
      		externalAccessLock.readLock().unlock();
      	}
      }
docs: Rollback pending put/get operations in this session
  @param rollbackGets
  @param deliveredMessageIDs
  @throws JMSException