[prev in list] [next in list] [prev in thread] [next in thread] 

List:       activemq-users
Subject:    AdvisoryMessage ProducerInfo and Wildcards
From:       Eric-AWL <eric.vincent () atosorigin ! com>
Date:       2011-03-29 12:10:09
Message-ID: 1301400609461-3414601.post () n4 ! nabble ! com
[Download RAW message or body]

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.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic