So, reading carefully, it sounds the solution has orders-of-operation
concerns with messages that cannot be lost, consumers that go away,
producers that must not produce when the consumers are missing, the
application is using an asynchronous messaging solution (ActiveMQ), and AMQ
is being used to coordinate between the producers and consumers.

If so, that's problematic.

ActiveMQ provides no means to guarantee that a producer will fail to deliver
a message when there are no consumers interested in the message.  It is
actually designed more for cases of consumers being away and returning at a
later time. 

As you noted correctly, ActiveMQ automatically recreates destinations every
time they are needed, so even if they were GC'ed, they would just be
automatically recreated when a producer posted a message.

Hope this helps.



--
View this message in context: 
http://activemq.2283324.n4.nabble.com/ActiveMQ-should-GC-inactive-when-producers-is-0-even-if-consumers-is-0-tp4690776p4690850.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to