Hi,

I actually want to get the details of producers and consumers for all the
topics except the Advisory Topics.
I have used the following code:

ActiveMQDestination
destination=(ActiveMQDestination)session.createTopic(">");
Destination
advisoryDestination=AdvisorySupport.getProducerAdvisoryTopic(destination);
MessageConsumer consumer=session.createConsumer(advisoryDestination);
consumer.setMessageListener(new ProducerAdvisoryListener());
                        
Destination
consumerAdvisory=AdvisorySupport.getConsumerAdvisoryTopic(destination);
MessageConsumer consumer1=session.createConsumer(consumerAdvisory);
consumer1.setMessageListener(new ConsumerAdvisoryListener());

In this code, if I use ">" , it gives me the details of producers and
consumers for all the Topics including the Advisory topics. 
Can you please suggest me some work around here so that I can exclude the
'ActiveMQ.Advisory.>' topics?
Please note that the name of the other topics is absolutely random and hence
I cannot make use of Wild Cards to fetch details of those topics.

Regards,
Schumi


--
View this message in context: 
http://activemq.2283324.n4.nabble.com/Wild-Cards-tp3343581p3343581.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.

Reply via email to