activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james strachan (JIRA)" <>
Subject [jira] [Reopened] (AMQ-3337) Add MBean to view Producers that are active on the Broker
Date Tue, 07 Jun 2011 09:47:58 GMT


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

View raw message