Complete the following prerequisites before you enable message recovery for sessions with a JMS or WebSphere MQ source and a JMS or WebSphere MQ target:
Create the recovery queue in the JMS provider or WebSphere MQ. Or, create the recovery topic in the JMS provider.
Create the recovery queue under the same queue manager as the message queue so the commit scope is the same.
Configure the recovery queue to be persistent. If the recovery queue is not persistent, data duplication can occur.