code: private AbstractMessage fetchNext() throws JMSException
  	{
  		if (nextMessage != null)
  			return nextMessage; // Already fetched
  		nextMessage = localQueue.browse(cursor, parsedSelector); // Lookup next candidate
  		if (nextMessage == null)
  			close(); // Auto-close enumeration at end of queue
  		return nextMessage;
  	}
docs: Fetch the next browsable message in the associated queue
  @return a message or null
  @throws JMSException on queue browsing error