getEnumeration

 

public Enumeration getEnumeration() throws JMSException;

Gets an enumeration for browsing the current queue messages in the order that they are received.

Note that if the browser is created for a nonexistent queue, this is not detected until the first call to getEnumeration().

Returns

  • an enumeration for browsing the messages.

Exceptions

  • JMSException - if JMS fails to get the enumeration for this browser because of a JMS error.


uj29680_