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 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 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, 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.
32 Citations
17 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 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 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. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. 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, 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, 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, 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 (8, 9, 10, 11, 12)
-
-
13. A method of operating a message source comprising:
-
initiating an action, transmitting a one way message from the message source, in response to the action, the one way message being part of a business transaction comprising a plurality of one way messages and establishing a compensation component at the message source, the compensation component defining actions to be taken, if the processing of the message succeeds, whilst the processing of a part of the transaction fails.
-
-
14. A message source arranged to initiate an action, to transmit a one way message from the message source, in response to the action, the one way message being part of a business transaction comprising a plurality of one way messages, the message source being further arranged to establish a compensation component at the message source, the compensation component defining actions to be taken, if the processing of the message succeeds, whilst the processing of a part of the transaction fails.
-
15. A computer program product on a computer readable medium for operating a message source, the product comprising instructions for:
-
initiating an action, transmitting a one way message from the message source, in response to the action, the one way message being part of a business transaction comprising a plurality of one way messages, and establishing a compensation component at the message source, the compensation component defining actions to be taken, if the processing of the message succeeds whilst the processing of a part of the transaction fails.
-
-
16. A method of operating a message service in a messaging system, the messaging system comprising a message source, a message receiver and the message service intermediate of the message source and message receiver, the method comprising the steps of:
-
receiving a one way message, as part of a business transaction, from the message source, the transaction comprising a plurality of one way messages, 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, 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.
-
-
17. A message service, operable in a messaging system, the messaging system comprising a message source, a message receiver and the message service intermediate of the message source and message receiver, the apparatus comprising:
-
means for receiving a one way message, as part of a business transaction, from the message source, the transaction comprising a plurality of one way messages, means for transmitting the message from the messaging service to the message receiver for processing thereat, means for receiving a communication from the message receiver, the communication indicating success or failure of the processing of the message, and means, 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, for causing compensation logic defined by a compensation component established at the message source to execute.
-
Specification