activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adam <adam.suss...@gmail.com>
Subject Forcing a producer to stop
Date Wed, 08 Dec 2010 01:07:49 GMT


I have situation in which I have a producer publishing many messages to
a Topic.  At a certain point, if there are no consumers listening to the
topic, or the last consumer disconnects, I would like to make the producer
of the messages also stop.  This would need to happen in a network of
brokers where the producer and consumer might not be on the same broker.

Is this possible?  I am coding inside the broker, so I do have access to
more
internals that just javax.jms objects.

thanks,

-adam
-- 
View this message in context: http://activemq.2283324.n4.nabble.com/Forcing-a-producer-to-stop-tp3077531p3077531.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message