Method of handling a message
First Claim
1. A method of handling a message in a messaging system, the messaging system comprising a message source, a message receiver and a message service having a plurality of queues, wherein the message service is intermediate of the message source and message receiver, wherein a compensation component is established at the message source, the method comprising the steps of:
- transmitting a one way message, as part of a business transaction, from the message source, the transaction comprising a plurality of one way messages,receiving the message into and transmitting the message from, at least two of the plurality of queues of the message service in turn, using a processor, by;
receiving the message at a first one of the plurality of queues of the message service,transmitting the message from the first one of the plurality of queues to a second one of the plurality of queues, andtransmitting the message from the second one of the plurality of queues of the messaging service,receiving the message at the message receiver,processing the message at the message receiver,transmitting a communication from the message receiver, the communication indicating success or failure of the processing of the message,receiving the communication at the messaging service,performing, with a processor, a transaction confirmation for each queue of the first one and second one of the plurality of queues, in turn, andresponsive to receiving an indication of a failure of part of the transaction when the communication indicated that processing of the one way message succeeded, causing compensation logic defined by the compensation component to execute.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of handling a message in a messaging system is provided. The messaging system comprises a message source, a message receiver and a message service. The message service is intermediate of the message source and message receiver, wherein a compensation component is established at the message source. The method comprises the steps of, transmitting a one way message, as part of a business transaction, from the message source, the transaction comprising a plurality of one way messages, receiving the message at the message service, transmitting the message from the messaging service, receiving the message at the message receiver, processing the message at the message receiver, transmitting a communication from the message receiver, the communication indicating success or failure of the processing of the message, receiving the communication at the messaging service, and responsive to receiving an indication of a failure of part of the transaction when the communication indicated that processing of the one way message succeeded, causing compensation logic defined by the compensation component to execute.
-
Citations
8 Claims
-
1. A method of handling a message in a messaging system, the messaging system comprising a message source, a message receiver and a message service having a plurality of queues, wherein the message service is intermediate of the message source and message receiver, wherein a compensation component is established at the message source, the method comprising the steps of:
-
transmitting a one way message, as part of a business transaction, from the message source, the transaction comprising a plurality of one way messages, receiving the message into and transmitting the message from, at least two of the plurality of queues of the message service in turn, using a processor, by; receiving the message at a first one of the plurality of queues of the message service, transmitting the message from the first one of the plurality of queues to a second one of the plurality of queues, and transmitting the message from the second one of the plurality of queues of the messaging service, receiving the message at the message receiver, processing the message at the message receiver, transmitting a communication from the message receiver, the communication indicating success or failure of the processing of the message, receiving the communication at the messaging service, performing, with a processor, a transaction confirmation for each queue of the first one and second one of the plurality of queues, in turn, and responsive to receiving an indication of a failure of part of the transaction when the communication indicated that processing of the one way message succeeded, causing compensation logic defined by the compensation component to execute. - View Dependent Claims (2, 3)
-
-
4. A messaging system comprising a message source, a message receiver and a message service intermediate of the message source and message receiver, wherein a compensation component is established at the message source, further comprising a microprocessor coupled to memory, wherein the microprocessor is programmed to implement the message service, the message service having a plurality of queues, wherein:
-
the message source is arranged to transmit a one way message, wherein the one way message is part of a business transaction, the business transaction comprising a plurality of one way messages, the message service is arranged to receive the message and to transmit the message through at least two of the plurality of queues in turn, the message receiver is arranged to receive the message, to process the message, and to transmit a communication, the communication indicating success or failure of the processing of the message, the messaging service is arranged to perform a transaction confirmation for each queue of the plurality of queues that received and transmitted the message, in turn, and the messaging service is arranged to receive the communication, the message service being, responsive to receiving an indication of a failure of part of the transaction when the communication indicated that processing of the one way message succeeded, operable to cause compensation logic defined by the compensation component to execute. - View Dependent Claims (5, 6)
-
-
7. A method of operating a message service in a messaging system, the message service having a plurality of queues, where the messaging system comprises a message source, a message receiver and the message service intermediate of the message source and message receiver, the method comprising:
-
receiving a one way message, as part of a business transaction, from the message source, the transaction comprising a plurality of one way messages, receiving the message into and transmitting the message from, at least two of the plurality of queues of the message service in turn, using a processor, by; receiving the message at a first one of the plurality of queues of the message service, transmitting the message from the first one of the plurality of queues to a second one of the plurality of queues, and transmitting the message from the second one of the plurality of queues of the messaging service, transmitting the message from the messaging service to the message receiver for processing thereat, receiving a communication from the message receiver, the communication indicating success or failure of the processing of the message, performing, with a processor, a transaction confirmation for each queue of the first one and second one of the plurality of queues, in turn, and responsive to receiving an indication of a failure of part of the transaction when the communication indicated that processing of the one way message succeeded, causing compensation logic defined by a compensation component established at the message source to execute.
-
-
8. A message service having a plurality of queues, where the message service is intermediate of a message source and a message receiver in a messaging system, the message service comprising:
-
a microprocessor coupled to a memory, wherein the microprocessor is programmed to implement the message service by; receiving a one way message, as part of a business transaction, from the message source, the transaction comprising a plurality of one way messages, wherein receiving a message comprises receiving the message into and transmitting the message from, at least two of the plurality of queues of the message service in turn, by; receiving the message at a first one of the plurality of queues of the message service, transmitting the message from the first one of the plurality of queues to a second one of the plurality of queues, and transmitting the message from the second one of the plurality of queues of the messaging service, transmitting the message from the messaging service to the message receiver for processing thereat, receiving a communication from the message receiver, the communication indicating success or failure of the processing of the message, performing a transaction confirmation for each queue of the first one and second one of the plurality of queues, in turn, and causing compensation logic defined by a compensation component established at the message source to execute, responsive to receiving an indication of a failure of part of the transaction when the communication indicated that processing of the one way message succeeded.
-
Specification