Patent ID: 8898520

Claim:
A system for message queue failure recovery, comprising: a non-transitory computer readable storage medium comprising a recovery management component stored as a set of computer instructions that, when executed by a processor, cause the processor to: detect a failure in a message queue or a queue manager for the message queue, iteratively detect a current status of each of the message queue and the queue manager, iteratively examine a maintained active log for the message queue and a message recovery log, iteratively select one of a plurality of failure recovery procedures based at least on the iteratively detected current status of the message queue and the queue manager, the maintained active log, and the message recovery log, wherein the plurality of failure recovery procedures comprise: a first procedure to restart the queue manager and reload one or more messages in the queue manager from a backup queue, a second procedure to shut down and restart a server that hosts the message queue and the queue manager, and a third procedure to shut down a server that hosts the message queue and the queue manager and signal a request for further investigation into the failure, and responsive to detecting the failure, execute the currently selected one of the plurality of failure recovery procedures.