activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric-AWL <eric.vinc...@atosorigin.com>
Subject AdvisoryMessage ProducerInfo and Wildcards
Date Tue, 29 Mar 2011 12:10:09 GMT
Hi

Imagine one broker on which several client processes are connected.

First one creates a producer on queue "myQueue.1", A second one creates a
producer on queue "myQueue.2".

An administrative process is connected on this broker too.
Is it possible, in this administrative process, to use AdvisoryMessages for
catching Producer creation for "myQueue.>"
(AdvisorySupport.getProducerAdvisoryTopic(new
ActiveMQDestination("myQueue.>")), and detects with the ProducerInfo
received messages that a producer on "myQueue.1" and a producer on
"myQueue.2" was created ?

If yes, is it ProducerInfo.getDestination().getPhysicalName() or
ProducerInfo.getDestination().getQualifiedName() that I must use ?

Thank you in advance
Eric-AWL

--
View this message in context: http://activemq.2283324.n4.nabble.com/AdvisoryMessage-ProducerInfo-and-Wildcards-tp3414601p3414601.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message