QueueBrowser


Class

Declaration

class QueueBrowser : IEnumerator 

Purpose

Enumerate the messages in a queue without consuming them.

Remarks

A browser is a dynamic enumerator of the queue (not a static snapshot). The queue is at the server, and its contents change as message arrive and consumers remove them. Meanwhile, while the browser is at the client. The method QueueBrowser.MoveNext asks the server for the next message after Current—that is, the next message that is still 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 .

 

Member
Description
Properties
Current
object {get;}
This property presents the current message in the browser’s enumeration, but accessing the property does not consume that message.
The method QueueBrowser.MoveNext advances the current message.
MessageSelector
string {get;}
The browser’s message selector expression filters the messages that the browser presents.
Queue
Queue {get;}
The queue that this browser scans.

(Sheet 1 of 2)

Method
Description
Page
176
177
178
179

See Also

Session.CreateBrowser


TIBCO Enterprise Message Service™ .NET Reference
System Release 4.3, February 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com