You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "james strachan (JIRA)" <ji...@apache.org> on 2011/06/07 11:47:58 UTC
[jira] [Reopened] (AMQ-3337) Add MBean to view Producers that are
active on the Broker
[ https://issues.apache.org/jira/browse/AMQ-3337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
james strachan reopened AMQ-3337:
---------------------------------
It would rock if we could also create a ProducerViewMBean in JMX for all producers, even if they are not created with a default destination.
e.g. in camel-jms the code tends to create empty producers, then send each message to a specific destination. Usually its the same one every time; its just a code convenience to not hard wire the producer with a specific Destination. The JmsTemplate is similar in Spring I think.
I wonder if by default we could register the ProducerViewMBean with the first destination that its used to send to? Or register the ProducerViewMBean in a place where we can query all of them and find the ones who last sent to a specific destination?
We should avoid having to keep registering or moving the MBean for sure; so either we register it at the first send, or we register it in some 'generic producer' place, then update its destination property value on each send?
We could then have a helper method on the DestinationMBeanView or something to query all of these 'dynamic producers' to find which ones sent last time to a given queue/topic?
> Add MBean to view Producers that are active on the Broker
> ---------------------------------------------------------
>
> Key: AMQ-3337
> URL: https://issues.apache.org/jira/browse/AMQ-3337
> Project: ActiveMQ
> Issue Type: Improvement
> Components: JMX
> Affects Versions: 5.5.0
> Reporter: Timothy Bish
> Assignee: Timothy Bish
> Priority: Minor
> Labels: JMX
> Fix For: 5.6.0
>
>
> Add an MBean and methods in the BrokerViewMBean to get information on Producers that are currently active on Destinations on the Broker.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira