Systems and methods for transaction chaining
First Claim
1. A method for ensuring atomicity in a workflow, comprising:
- demarcating tasks in a workflow to be processed atomically.
2 Assignments
0 Petitions
Accused Products
Abstract
A transaction management engine, such as a business process management (BPM) engine, can allow an application to define transaction demarcations in order to ensure that portions of a workflow are processed atomically. In one such system, a JMS message is queued to the workflow as part of an existing transaction. If that transaction commits, the queued JMS message ensures that the workflow will be invoked in a new transaction that allows the workflow to perform the next unit of work in the newly initiated transaction. When the unit of work is completed, the workflow queues another JMS message. If this transaction commits, the transaction ensures the unit of work has executed in a transaction. When the workflow is invoked again due to the second JMS message, the workflow can continue its operation in a different transaction.
This description is not intended to be a complete description of, or limit the scope of, the invention. Other features, aspects, and objects of the invention can be obtained from a review of the specification, the figures, and the claims.
166 Citations
9 Claims
-
1. A method for ensuring atomicity in a workflow, comprising:
demarcating tasks in a workflow to be processed atomically. - View Dependent Claims (2, 3)
-
4. A method for ensuring atomicity in a workflow, comprising:
-
queuing a message to a workflow when starting an atomic unit of work in a first transaction;
invoking the workflow in a second transaction if the first transaction commits, the message causing the workflow to be invoked;
allowing the workflow to perform the next unit of work in the second transaction; and
queuing another message such that when the second transaction commits and the workflow is subsequently invoked, the workflow can continue its operation in a new transaction.
-
-
5. A computer-readable medium, comprising:
-
means for demarcating tasks in a workflow to be processed atomically; and
means for atomically processing those tasks.
-
-
6. A computer program product for execution by a server computer for ensuring atomicity in a workflow, comprising:
-
computer code for demarcating tasks in a workflow to be processed atomically; and
computer code for atomically processing those tasks.
-
-
7. A system for ensuring atomicity in a workflow, comprising:
-
means for demarcating tasks in a workflow to be processed atomically; and
means for atomically processing those tasks.
-
-
8. A computer system comprising:
- a processor;
object code executed by said processor, said object code configured to;
demarcate tasks in a workflow to be processed atomically; and
atomically process those tasks.
- a processor;
-
9. A computer data signal embodied in a transmission medium, comprising:
-
a code segment including instructions to demarcate tasks in a workflow to be processed atomically; and
a code segment including instructions to atomically process those tasks.
-
Specification