activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Taylor (JIRA)" <>
Subject [jira] Commented: (AMQ-1622) Enqueue and dequeue counts swapped on admin web console
Date Thu, 09 Apr 2009 17:23:36 GMT


Bryan Taylor commented on AMQ-1622:

I too am confused by this, but instead of swapping them, I propose changing this to "messages
enqueued" and "messages dequeued" which cannot be misinterpreted, and this matches what you
would see via JMX. The problem with "sent" and "received" is that it's ambiguous, because
it raises the question "by whom". Messages are sent from producer to broker and then sent
from broker to consumer. They are received by the broker, then received by the consumer. So
a column that says "messages sent" or "messages received" inherently will be confusing.

> Enqueue and dequeue counts swapped on admin web console
> -------------------------------------------------------
>                 Key: AMQ-1622
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: Pete Schwamb
>             Fix For: 5.3.0
>         Attachments: web_console_patch.txt
> When viewing the topics and queue listings in the web admin console, the dequeue count
is displayed with the heading "Messages Received", and enqueue is displayed with the heading
"Messages Sent".
> That seems backwards to me.  When looking at statistics for a queue, I would assume that
"Messages Sent" are messages sent from the queue (dequeueCount), and "Messages Received" are
messages received by the queue (enqueueCount).
> Here's a patch that swaps them.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message