[ 
https://issues.apache.org/activemq/browse/AMQ-1304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mario Siegenthaler resolved AMQ-1304.
-------------------------------------

    Resolution: Duplicate

The data exposed via JMX already allows doing this. The patch in AMQ-1324 
provides an implementation.

> 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.

Reply via email to