qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emir Ibrahimbegovic <emir.ibrahimbego...@gmail.com>
Subject Re: Session auto acknowledge
Date Tue, 26 Jul 2011 21:54:57 GMT
Thanks Gordon,

I found this example, it might be useful to someone else trying to do the
same thing :

http://www.novell.com/documentation/extend52/Docs/help/MP/jms/tutorial/pointToPoint-1.htm#browser

Best Regards,
E

On Tue, Jul 26, 2011 at 12:53 PM, Gordon Sim <gsim@redhat.com> wrote:

> 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<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<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:users-subscribe@qpid.**apache.org<users-subscribe@qpid.apache.org>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message