You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by sub3 <st...@subwest.com> on 2012/10/13 01:01:37 UTC

Controlling Queue w/o Consumers

Hi,
I have a situation where a consumer on a queue could disappear.  The sending
components wouldn't know for a while (they have to be told via another
mechanism) and messages might build and stop the producer.  What are my
options for controlling this in activemq, w/o any kick back to the producer
(letting it keep sending and stop when it wants/can)?

My Thoughts:
1. I can set the ttl, but if the consumer is slow, I don't want to drop
messages... so there is no good time to set.
2. I can use temporary queues, but I think it drops when the consumer does.
I can't restart & use the same queue.
3. I can keep looking for queues w/no consumers, and purge the queue
periodically.

Are there other options I should be considering?

Thanks.




--
View this message in context: http://activemq.2283324.n4.nabble.com/Controlling-Queue-w-o-Consumers-tp4657780.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.