Handling of messages in a message system
First Claim
1. Computer readable storage hardware having computer readable program code stored thereon, wherein the program code is executed to handle messages in a messaging system, comprising:
- receiving, by a message service, a particular one-way message that was transmitted by a message source as part of an overall business transaction comprising a plurality of one-way messages, wherein compensation logic defined by a compensation component is added to a message activity if the particular one way message is successfully received into a first queue;
communicating the particular one way message from the messaging service to a message receiver, wherein the communicating includes creating a second message as a child-participant of the particular one way message, which is placed in a second queue, and reading, by the message receiver, the child-participant of the particular one way message from the second queue;
receiving, by the message service, a communication indicating success or failure of the processing of the particular one way message by the message receiver; and
causing the compensation logic defined by the compensation component to execute responsive to receiving an indication of a failure of part of the overall business transaction despite the communication from the message receiver indicated that processing of the particular one way message succeeded.
1 Assignment
0 Petitions
Accused Products
Abstract
A 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, and a compensation component is established at the message source. A one way message is transmitted from the message source, where the one-way message is part of a plurality of one way messages of an overall business transaction. The message is received at the message service and is transmitted to the message receiver, which processes the received message. The message receiver transmits a communication indicating success or failure of the processing of the message. The system causes compensation logic defined by a compensation component to execute responsive to receiving an indication of a failure of part of the overall business transaction despite the communication from the message receiver indicated that processing of the particular one way message succeeded.
35 Citations
18 Claims
-
1. Computer readable storage hardware having computer readable program code stored thereon, wherein the program code is executed to handle messages in a messaging system, comprising:
-
receiving, by a message service, a particular one-way message that was transmitted by a message source as part of an overall business transaction comprising a plurality of one-way messages, wherein compensation logic defined by a compensation component is added to a message activity if the particular one way message is successfully received into a first queue; communicating the particular one way message from the messaging service to a message receiver, wherein the communicating includes creating a second message as a child-participant of the particular one way message, which is placed in a second queue, and reading, by the message receiver, the child-participant of the particular one way message from the second queue; receiving, by the message service, a communication indicating success or failure of the processing of the particular one way message by the message receiver; and causing the compensation logic defined by the compensation component to execute responsive to receiving an indication of a failure of part of the overall business transaction despite the communication from the message receiver indicated that processing of the particular one way message succeeded. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. Computer readable storage hardware having computer readable program code stored thereon, wherein the program code is executed to handle messages in a messaging system that includes a first queue and a second queue, comprising:
-
transmitting a particular one way message, as part of an overall business transaction, from a message source, the overall business transaction comprising a plurality of one way messages; receiving, at a message service, the particular one way message at the first queue such that compensation logic defined by a compensation component is added to a message activity if the particular one way message is successfully received into the first queue; transmitting the particular one way message from the messaging service; receiving the particular one way message at a message receiver by creating a second message as a child-participant of the particular one way message, which is placed in the second queue and reading, by the message receiver, the child-participant of the particular one way message from the second queue; processing the particular one way message at the message receiver; transmitting a communication from the message receiver, the communication indicating success or failure of the processing of the particular one way message; receiving the communication at the messaging service; and causing the compensation logic defined by the compensation component to execute responsive to receiving an indication of a failure of part of the overall business transaction when the communication indicated that processing of the particular one way message succeeded. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17, 18)
-
Specification