Persistence

You can define queues as being persistent or nonpersistent. Messages in nonpersistent queues are lost after the queue is restarted. For example, if you have 100 messages in the queue, all those messages are lost when the WebLogic JMS server or the WebSphere® MQ queue manager is restarted. In contrast, messages in persistent queues are preserved after a restart. Using the same example from above, the same 100 messages are in the queue after a restart.

In general, the following recommendations apply: