2 Replies Latest reply on Feb 15, 2013 1:59 PM by kolbrich

    Is there a way to gracefully drain a queue?

    kolbrich

      Given the current capabilities of HornetQ, is there a way to place a queue into a mode where it will not accept any new messages while continuing to process existing ones?

       

      This might be helpful in maintenance or upgrade situations where one might want to drain all the messages from a queue before shutting it down or upgrading it.

       

      For the purposes of this question, assume that I have no control over the message producers (which might be remote).

       

      Thanks,

       

      Kevin