activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Bain <>
Subject Re: ActiveMQ deletes empty queues automatically on shutdown
Date Fri, 12 May 2017 03:09:17 GMT
As I understand it, this is expected behavior.

ActiveMQ deletes messages when they are consumed, so if all messages are
consumed for a given destination, there will be no rows in the table that
correspond to that destination. So when the broker starts, it has no need
to create the destination, giving the behavior you describe.

If you want your destinations created at broker start time, you can define
them statically in the XML. Otherwise, you can wait until the first client
(producer or consumer, either one) interacts with the destination and
ActiveMQ will create the destination automatically.


On May 11, 2017 8:38 AM, "gokhanoner" <> wrote:

> Hi,
> I'm testing 5.14.5 on Windows. After I define some queues and send/receives
> messages and close broker, after restart, I cannot see the queues that I
> defines, If there is no connected consumers.
> Is this normal ? After I start sending messages, queues are automatically
> created but I prefer them to be persistent.
> BTW, I'm using jdbc store.
> Thanks
> --
> View this message in context: http://activemq.2283324.n4.
> shutdown-tp4725967.html
> Sent from the ActiveMQ - User mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message