activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mario Siegenthaler (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQ-1304) Expose the names of the consumers of a queue/topic via JMX
Date Sat, 30 Jun 2007 19:43:32 GMT
Expose the names of the consumers of a queue/topic via JMX

------------------------------------------------------------

                 Key: AMQ-1304
                 URL: https://issues.apache.org/activemq/browse/AMQ-1304
             Project: ActiveMQ
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 5.0.0
            Reporter: Mario Siegenthaler


It would be usefull in certain situations to be able to see the names/ids of a queues consumers.
That could be usefull when you're asking yourself where your precious messages are going.
I thought about somthing like adding a method List<String> getConsumerIds() to DestinationViewMBean.


I tried to put together a path for this, but I wasn't sure if it'd be ok add a method to Queue
that accesses the CopyOnWriteArrayList consumers. The consumer-count statistic isn't  done
on top of this list, but instead uses DestinationStatistics to keep the count. Would it be
ok to a getConsumerIds() method to Queue (and Topic) and then expose that method via JMX (through
QueueView)?

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


Mime
View raw message