Collapse All Expand All

.NET Framework Class Library
Members See Also

[TIBCO.EMS.UFOCLIENT .NET client library 6.0 documentation]

Enumerate the messages in a queue without consuming them

Namespace: TIBCO.EMS.UFO
Assembly: TIBCO.EMS.UFO (in TIBCO.EMS.UFO.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.

# Inheritance Hierarchy

System..::.Object
TIBCO.EMS.UFO..::.QueueBrowser

# See Also

QueueBrowser Members
TIBCO.EMS.UFO Namespace