Systems and methods for multi-stage message brokering
First Claim
1. An apparatus comprising:
- one or more processors; and
a storage device storing program instructions executable by the one or more processors to implement a message brokering mechanism including;
a first stage operable to interface with a message source, wherein the first stage is configured to maintain a first set of records identifying message requests received from the message source and message responses sent to the message source;
a second stage operable to interface with a message processor, wherein the second stage is configured to maintain a second set of records identifying message requests sent to the message processor and message responses received from the message processor; and
a recovery mechanism;
wherein the first stage is configured to determine whether a normal message request received from the message source is a duplicate request and, if the normal message request is not a duplicate request, to dispatch the normal message request to the second stage, and, if the normal message request is a duplicate request, to send a message response to the message source without dispatching the normal message request to the second stage;
wherein, in response to receiving the normal message request, the second stage is configured to send the normal message request to the message processor and, if a message response is received from the message processor, to dispatch the message response to the first stage for sending to the message source;
wherein, in response to receiving a recovery process activation message, the recovery mechanism is configured to access each of the first and second sets of records to identify those message requests for which a corresponding message response is not included indicating that the message request has been processed and to convert each such message request into a corresponding special message request; and
wherein, in response to receiving a given special message request, the second stage is configured to send a corresponding request to the message processor and to start a timer process and, if a response is not received from the message processor within a designated time period as dictated by the timer process, to identify the corresponding request as a failed request.
2 Assignments
0 Petitions
Accused Products
Abstract
A message brokering mechanism for performing a recovery operation in a transaction processing system including first and second stages operable to exchange message requests and responses. The first stage may receive a message request from a message source and may check whether the message request is a special message request. This may be by way of checking if a recovery attribute of the message request is set. A normal message request may have a recovery attribute that is not set. If the message request is a special message request, it may be dispatched to the second stage. If the message request is a normal message request, it may be dispatched to the second stage if the normal message request is not a repeat normal message request.
-
Citations
33 Claims
-
1. An apparatus comprising:
-
one or more processors; and a storage device storing program instructions executable by the one or more processors to implement a message brokering mechanism including; a first stage operable to interface with a message source, wherein the first stage is configured to maintain a first set of records identifying message requests received from the message source and message responses sent to the message source; a second stage operable to interface with a message processor, wherein the second stage is configured to maintain a second set of records identifying message requests sent to the message processor and message responses received from the message processor; and a recovery mechanism; wherein the first stage is configured to determine whether a normal message request received from the message source is a duplicate request and, if the normal message request is not a duplicate request, to dispatch the normal message request to the second stage, and, if the normal message request is a duplicate request, to send a message response to the message source without dispatching the normal message request to the second stage; wherein, in response to receiving the normal message request, the second stage is configured to send the normal message request to the message processor and, if a message response is received from the message processor, to dispatch the message response to the first stage for sending to the message source; wherein, in response to receiving a recovery process activation message, the recovery mechanism is configured to access each of the first and second sets of records to identify those message requests for which a corresponding message response is not included indicating that the message request has been processed and to convert each such message request into a corresponding special message request; and wherein, in response to receiving a given special message request, the second stage is configured to send a corresponding request to the message processor and to start a timer process and, if a response is not received from the message processor within a designated time period as dictated by the timer process, to identify the corresponding request as a failed request. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A transaction processing system comprising:
-
a message processor; one or more processors; and a storage device storing program instructions executable by the one or more processors to implement a message brokering mechanism including; a first stage operable to interface with a message source, wherein the first stage is configured to maintain a first set of records identifying message requests received from the message source and message responses sent to the message source; a second stage operable to interface with the message processor, wherein the second stage is configured to maintain a second set of records identifying message requests sent to the message processor and message responses received from the message processor; and a recovery mechanism; wherein the first stage is configured to determine whether a normal message request received from the message source is a duplicate request and, if the normal message request is not a duplicate request, to dispatch the normal message request to the second stage, and, if the normal message request is a duplicate request, to send a message response to the message source without dispatching the normal message request to the second stage; wherein, in response to receiving the normal message request, the second stage is configured to send the normal message request to the message processor and, if a message response is received from the message processor, to dispatch the message response to the first stage for sending to the message source; wherein, in response to receiving a recovery process activation message, the recovery mechanism is configured to access each of the first and second sets of records to identify those message requests for which a corresponding message response is not included indicating that the message request has been processed and to convert each such message request into a corresponding special message request; and wherein, in response to receiving a given special message request, the second stage is configured to send a corresponding request to the message processor and to start a timer process and, if a response is not received from the message processor within a designated time period as dictated by the timer process, to identify the corresponding request as a failed request. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A storage medium storing program instructions executable by a computing device to implement a message brokering mechanism including:
-
a first stage operable to interface with a message source, wherein the first stage is configured to maintain a first set of records identifying message requests received from the message source and message responses sent to the message source; a second stage operable to interface with a message processor, wherein the second stage is configured to maintain a second set of records identifying message requests sent to the message processor and message responses received from the message processor; and a recovery mechanism; wherein the first stage is configured to determine whether a normal message request received from the message source is a duplicate request and, if the normal message request is not a duplicate request, to dispatch the normal message request to the second stage, and, if the normal message request is a duplicate request, to send a message response to the message source without dispatching the normal message request to the second stage; wherein, in response to receiving the normal message request, the second stage is configured to send the normal message request to the message processor and, if a message response is received from the message processor, to dispatch the message response to the first stage for sending to the message source; wherein, in response to receiving a recovery process activation message, the recovery mechanism is configured to access each of the first and second sets of records to identify those message requests for which a corresponding message response is not included indicating that the message request has been processed and to convert each such message request into a corresponding special message request; and wherein, in response to receiving a given special message request, the second stage is configured to send a corresponding request to the message processor and to start a timer process and, if a response is not received from the message processor within a designated time period as dictated by the timer process, to identify the corresponding request as a failed request. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31, 32, 33)
-
Specification