[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-dev
Subject:    [jira] Created: (AMQ-1304) Expose the names of the consumers of a
From:       "Mario Siegenthaler (JIRA)" <jira () apache ! org>
Date:       2007-06-30 19:43:32
Message-ID: 27043312.1183232612997.JavaMail.jira () brutus
[Download RAW message or body]

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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic