You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Pete Schwamb (JIRA)" <ji...@apache.org> on 2008/03/13 23:08:32 UTC

[jira] Created: (AMQ-1622) Enqueue and dequeue counts swapped on admin web console

Enqueue and dequeue counts swapped on admin web console
-------------------------------------------------------

                 Key: AMQ-1622
                 URL: https://issues.apache.org/activemq/browse/AMQ-1622
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.0.0
            Reporter: Pete Schwamb
         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.


[jira] Commented: (AMQ-1622) Enqueue and dequeue counts swapped on admin web console

Posted by "Bryan Taylor (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/AMQ-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=51131#action_51131 ] 

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: https://issues.apache.org/activemq/browse/AMQ-1622
>             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.


[jira] Resolved: (AMQ-1622) Enqueue and dequeue counts swapped on admin web console

Posted by "Dejan Bosanac (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/AMQ-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac resolved AMQ-1622.
--------------------------------

    Resolution: Fixed
      Assignee: Dejan Bosanac

Headings changed to enqueued/dequeued in SVN revision 763765

> Enqueue and dequeue counts swapped on admin web console
> -------------------------------------------------------
>
>                 Key: AMQ-1622
>                 URL: https://issues.apache.org/activemq/browse/AMQ-1622
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.0.0
>            Reporter: Pete Schwamb
>            Assignee: Dejan Bosanac
>             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.