activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel Teira <>
Subject Some AdvisoryBroker oddities
Date Fri, 13 Jul 2007 09:11:58 GMT

Trying to iron some remaining issues in the AdvisoryBroker, I've got 
some conceptual questions about it.

Why AdvisoryBroker.addProducer calls fireAdvisory while 
AdvisoryBroker.removeProducer calls fireProducerAdvisory?

About fireProducerAdvisory (fireConsumerAdvisory). What is the reason of 
adding the attribute producerCount (consumerCount) as the total amount 
of producers (consumers) registered in the AdvisoryBroker, when the 
targets of those advisories are destination specific? Shouldn't it be 
the amount of producers (consumers) registered for the related topic/queue ?


View raw message