activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonas Lim <j...@exist.com>
Subject Re: Advisory messages
Date Thu, 26 Jul 2007 10:05:14 GMT
Hi Jim,

Could you raise a jira for this please :  
https://issues.apache.org/activemq/secure/CreateIssue!default.jspa

thanks,
Jonas


jhunsinger wrote:
> Updated Information:  
>
> I copied some code from the ProducerEventSource which assumes that if the
> data structure is an instanceof ProducerInfo, then the advisory msg is an
> add (start) producer.  If the data structure is an instanceof RemoveInfo,
> then it is a remove (stop) producer.  I also noticed that the property
> producerCount is only provided for RemoveInfo and not ProducerInfo.   
>
> Seems like the producerCount property should be available in the advisory
> message when both adding and removing a producer to/from a destination.  I
> also didn't see any mbean information for destination producerCount.
>
> Jim
>
>  
>
> jhunsinger wrote:
>   
>> Hello,
>>
>> I am trying to start/stop java processes upon the receipt of a message on
>> a queue.   I created a simple Advisory example that subscribes to
>> ActiveMQ.Advisory.Producer.Queue.>.  However, I do not see how to
>> determine if this a producer start or stop.  I would also like to
>> determine the number of producers and consumers on a queue.  Is there an
>> easy way to determine the above?
>>
>> Thanks,
>> Jim
>>
>>     
>
>   

Mime
View raw message