qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Whiting <tex...@bellsouth.net>
Subject Re: browse queue
Date Wed, 09 Sep 2009 18:28:26 GMT

I changed the acceptMode and now the message dequeues are being reported 
correctly.

Thanks so much!
//Bill

On 09/09/2009 02:19 PM, Gordon Sim wrote:
> On 09/09/2009 06:35 PM, Bill Whiting wrote:
>> There's nothing special about the put program.
>> The browse program browses messages from the queue and will acquire and
>> accept every fourth message.
>>
>> The code works in that if you run the put program 5 times , and then run
>> browse. The first time you run browse there will be 20 messages that are
>> read. The second time the browse will only show 16 messages, although
>> qpid-stat -q will show the queue depth as 20.
>
> There is indeed a bug. If you change the acceptMode to 
> ACCEPT_MODE_EXPLICIT you will see the dequeues reported as expected.
>
> However with ACCEPT_MODE_NONE, the message is not correctly dequeued 
> on being acquired as it should be (the explicit accept in this case 
> would then be ignored). It is removed from the in-memory delivery 
> queue (which is why it doesn't get redelivered to subsequent clients).
>
> I've raised a Jira (https://issues.apache.org/jira/browse/QPID-2089) 
> and will endeavour to get that fixed shortly. Thanks for raising this!
>
>
> ---------------------------------------------------------------------
> Apache Qpid - AMQP Messaging Implementation
> Project:      http://qpid.apache.org
> Use/Interact: mailto:users-subscribe@qpid.apache.org
>
>


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:users-subscribe@qpid.apache.org


Mime
View raw message