activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adam <>
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
internals that just javax.jms objects.


View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message