Progress
External Program
Interfaces
Queue Browsing
The PTP model supports queue browsing, a mechanism for an application to view the content of messages in a queue without actually receiving (consuming) the messages. The 4GL–JMS API supports queue browsing through the browseQueue method in the ptpsession object. The browseQueue method receives the name of the queue, a selector expression, and a Message Consumer object as input parameters.
The messages can be handled by the message handler the same way as messages coming from a receiveFromQueue call, but they are not acknowledged and are not subject to the transactional context of the session. (See the Java Message Service specification and the SonicMQ Programming Guide for details on queue browsing.)
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |