Patent ID: 7624308

Claim:
A method for use at a computer system that is network connectable along with one or more other computer systems to a network, the computer system including a processor and system memory, the computer system including a queue manager that controls one or more message queues at the computer system, the method for recovering from an messaging error, the method comprising: an act of receiving an enqueue message from a sending application, the enqueue message including: an application message; a receive queue reference, the receive queue reference identifying a receive queue that corresponds to a corresponding receiving application; and an error queue reference specifying an application specific error queue for the sending application, the application specific error queue being a queue where failed application messages of the sending application are to be sent, the application specific error queue exclusively for the use of the sending application to isolate messages of the sending application from other applications such that other applications are prevented from accessing failed application messages of the sending application; an act of enqueueing the application message in a transmission queue; an act of attempting to transfer the application message to the receive queue; an act of detecting that the application message was not delivered to the receiving application due to an error; an act of identifying the application message as a failed application message in response to detecting that the application message was not delivered; an act of the processor moving the failed application message from the transmission queue to the application specific error queue for the sending application in response to detecting that the application message was not delivered, moving the failed application message to the application specific error queue preventing other applications at the computer system from accessing the failed application message; and an act of returning the failed application message along with appropriate error information from the application specific error queue to an error processing application configured specifically to handle failed application messages of the sending application, the failed application message return to the error processing application subsequent to moving the failed application message to the application specific error queue for the sending application.