Why is pausing a queue not a broker function?
问题 I was looking for an ActiveMQ broker admin command, to tell it to pause a queue - that is: continue accepting messages from producing clients cease delivering to consuming clients, allowing the queue backlog to grow until the queue is resumed, whereupon the backlog is sent to clients. I was unable to find such a command. The commonest answer was that it should be managed at the client end -- that is, locate every consumer and stop it. Other answers were workarounds, like manipulating network