FWIW, ActiveMQ Artemis supports message expiration on the broker without a consumer via the "expiry reaper thread" [1]. I realize you may not be able to update your ActiveMQ broker, but I thought it was worth presenting the option.
Justin [1] https://activemq.apache.org/artemis/docs/latest/message-expiry.html On Thu, Nov 15, 2018 at 3:47 PM ncasaux <nicolas....@gmail.com> wrote: > Problem occurred again on a queue 3 days after it was created and no > consumer > at all. ActiveMQ finally shut down due to not enough space on the machine. > > > > -- > Sent from: > http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html >