As JB says, you need to ensure that the messages are sent as persistent
messages and that the broker configures a persistence store whose data will
survive the restart of the container. I'll go into some detail about
various possible options, and if what I write doesn't go deep enough to
answer you
Hi,
If you use persistent messages, the messages stays in the store waiting to be
consumed (or moved to DLQ if it expires or redelivery exceeded).
So, if you restart the ActiveMQ broker, the persistent messages will persist to
the restart and available to be consumed.
Regards
JB
> Le 1 juil.