There are two type of queues in MQ, Persistent and Non-Persistent
Delivery of persistent messages is assured, messages will survive complete system failure.
Messages will stored only in memory, messages cannot be recovered after a system restart.
– Right click on queue and choose “Properties…” option
– In properties dialog box change Default persistence to “Persistent”
– Put message on the Queue. Re-start queue manager, the message will still be there