System and method for managing transactions in a messaging system
First Claim
1. A data processing method for a data processing system comprising a messaging service and a transaction service, the method comprising the steps of:
- receiving a request, from a sender, to send an asynchronous message, comprising message data, to a queue, wherein the request is received under the scope of a transaction;
registering a definition for the queue, the definition providing details of an operation provided by the recipient;
processing the request to send a message by delivering the message, prior to completion of the transaction, to a recipient which is registered with the messaging service to process messages from the queue wherein the message is delivered to the recipient by calling the operation and including details of the message;
receiving one or more requests to register involvement of one or more participants in the transaction, wherein each participant represents transactional work done as a result of the recipient processing the message; and
completing the transaction wherein the completing step comprises instructing each of the one or more participants to complete;
whereby transactional work done, as a result of the recipient processing the message, is involved in the transaction under the scope of which the message was sent.
5 Assignments
0 Petitions
Accused Products
Abstract
A messaging system and method are provided to enable transactional work, done as a result of a recipient processing an asynchronous message, to be involved in the transaction under which message was sent. Involvement may be directly in the senders transaction or indirectly through a separate transaction which can be a subordinate to, a child of, or merged with the transaction under which message was sent. The message is delivered by calling an operation, a definition of which has been registered for the queue. If the message it added to a queue for subsequent delivery to a recipient, details of the transaction under which message was sent are added to the message. As a result the recipient can take appropriate action to ensure that any transactional work, it causes to happen, will be done directly or indirectly under the scope of the transactions under which message was sent.
-
Citations
36 Claims
-
1. A data processing method for a data processing system comprising a messaging service and a transaction service, the method comprising the steps of:
-
receiving a request, from a sender, to send an asynchronous message, comprising message data, to a queue, wherein the request is received under the scope of a transaction;
registering a definition for the queue, the definition providing details of an operation provided by the recipient;
processing the request to send a message by delivering the message, prior to completion of the transaction, to a recipient which is registered with the messaging service to process messages from the queue wherein the message is delivered to the recipient by calling the operation and including details of the message;
receiving one or more requests to register involvement of one or more participants in the transaction, wherein each participant represents transactional work done as a result of the recipient processing the message; and
completing the transaction wherein the completing step comprises instructing each of the one or more participants to complete;
whereby transactional work done, as a result of the recipient processing the message, is involved in the transaction under the scope of which the message was sent. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A data processing system comprising a messaging service and a transaction service, the system comprising:
-
means for the messaging service to receive a request, from a sender, to send an asynchronous message comprising message data to a queue, wherein the request is received under the scope of a transaction;
means for registering a definition for the queue, the definition providing details of an operation provided by the recipient;
means for the messaging service to process the request to send an asynchronous message by delivering the message, prior to completion of the transaction, to a recipient which is registered with the messaging service to process messages from the queue wherein the message is delivered to the recipient by calling the operation and including details of the message;
means for the transaction service to receive a request to register involvement of a participant in the transaction, wherein the participant represents transactional work done as a result of the recipient processing the message; and
means for the transaction service to complete the transaction comprising instructing each participant in the transaction to complete;
whereby transactional work done, as a result of the recipient processing the message, is involved in the transaction under the scope of which the message was sent. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
-
25. A computer program product comprising instructions which, when executed on a data processing host, cause the host to carry out a method comprising the steps of:
-
receiving a request, from a sender, to send an asynchronous message, comprising message data, to a queue, wherein the request is received under the scope of a transaction;
means for registering a definition for the queue, the definition providing details of an operation provided by the recipient;
processing the request to send a message by delivering the message, prior to completion of the transaction, to a recipient which is registered with the messaging service to process messages from the queue wherein the message is delivered to the recipient by calling the operation and including details of the message;
receiving one or more requests to register involvement of one or more participants in the transaction, wherein each participant represents transactional work done as a result of the recipient processing the message; and
completing the transaction wherein the completing step comprises instructing each of the one or more participants to complete;
whereby transactional work done, as a result of the recipient processing the message, is involved in the transaction under the scope of which the message was sent. - View Dependent Claims (26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36)
-
Specification