activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lionel Cons (JIRA)" <>
Subject [jira] [Commented] (APLO-211) Incorrect dequeued counter for topics
Date Fri, 22 Jun 2012 06:41:44 GMT


Lionel Cons commented on APLO-211:

I've attached a Perl script that shows the problem. When I run it against a fresh broker (data
wiped out before starting), I get:

$ perl
Subscribed, console => id=APLO-211, enqueue_item_counter=0, dequeue_item_counter=0
Sent message & disconnected, console => id=APLO-211, enqueue_item_counter=1, dequeue_item_counter=1
Received message & disconnected, console => id=APLO-211, enqueue_item_counter=1, dequeue_item_counter=2

We have only one message sent and received but a dequeue counter of 2.
> Incorrect dequeued counter for topics
> -------------------------------------
>                 Key: APLO-211
>                 URL:
>             Project: ActiveMQ Apollo
>          Issue Type: Bug
>         Environment: apollo-99-trunk-20120519.032132-42
>            Reporter: Lionel Cons
>            Assignee: Hiram Chirino
>         Attachments:
> The dequeued counter for topics seems to go wrong when subscribers disconnect.
> Here is how to reproduce:
>  - start with a fresh topic: all counters are at 0
>  - start a consumer
>  - start a producer that sends one message and disconnect, we get: enqueued=1, dequeued=1,
>  - stop the consumer, we now get: enqueued=1, dequeued=2
> FWIW, when using a queue, the dequeued counter stays at one even after the consumer disconnection.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message