Hi,

I refer to the post in :
http://activemq.2283324.n4.nabble.com/How-to-send-a-textMessage-to-an-exising-queue-destination-td3481137.html

I have a different situation where I have a Java consumer and a cpp
producer. My java side is the consumer, it creates the queueA by connecting
to the broker and then the CMS  side being the producer will publish
messages to the queueA. This producer should get access to the queueA
(already created by Java consumer) and publish to it. If the queue doesnt
exist, it shouldnt publish at all. the queue creation is dynamic as the
names will be decided at runtime.

I tried using the DynamicDestinationResolver to get an access to the
existing destination, but realized that it creates a new one if it doesnt
already exist.

I saw many posts on using advisory, but couldnt find any sample usage for
the cms side. Any help on this will be greatly appreciated. Please let me
know if I should add any other info here.

Thanks,
Ranjani



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/How-to-check-if-a-queue-already-exists-tp4675161.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to