Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
public class QueueBrowser : IEnumerator |
Public Class QueueBrowser _ Implements IEnumerator |
public ref class QueueBrowser : IEnumerator |
Remarks
A browser is a dynamic enumerator of the queue (not a static snapshot). The contents of the queue on the server change as messages arrive and consumers remove them. Meanwhile, a client can call the MoveNext()()() method to advance the browser’s enumeration to the next message in the queue.
The browser can enumerate messages in a queue, or a subset filtered by a message selector.
Sessions serve as factories for queue browsers; see Session.CreateBrowser. A QueueBrowser can be created from either a Session or a QueueSession.
A client uses a QueueBrowser object to look at messages on a queue without removing them.