On 07/26/2011 07:44 PM, Emir Ibrahimbegovic wrote:
Hi Gordon,

When I say download, I probably mean "dequeue" because I'm wasn't sure which
was the right term to use here. My goal was to inspect the message content
without any de-queueing occurring.

Do you want to browse messages, i.e. see what is in the queue without
actually removing the messages? - This is exactly what I want.

In JMS you can use a QueueBrowser (see http://download.oracle.com/javaee/1.4/api/javax/jms/QueueBrowser.html).

You can also specify 'mode: browse' in the address (see section 2.4.3.3 of http://qpid.apache.org/books/0.10/Programming-In-Apache-Qpid/html/ch02s04.html#id2728030).

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to