Try OpenEdge Now
skip to main content
Messaging and ESB
Implementing Messaging : Consuming messages : Receiving messages from a queue : Queue browsing
 
Queue browsing
The PTP model supports queue browsing, a mechanism that lets an application view the content of messages in a queue without actually consuming (receiving) the messages. The ABL–JMS API supports queue browsing through the browseQueueprocedure in the PTP Session object or JMS Session object.
The messages can be handled by the message handler in the same way as messages coming from a receiveFromQueueprocedure call, but they are not acknowledged and are not subject to the transactional context of the session. (See the Java Message Service specification and SonicMQ Programming Guide for details on queue browsing.)