When a Business Activity participant registers with a BA transaction it
gets a reference to the transaction coordinator that lets it callback
into the transaction and drive the state-transition.
When a Business Activity participant registers with a BA transaction it
gets a reference to the transaction coordinator that lets it callback
into the transaction and drive the state-transition.
If participants have registered for the BusinessAgreementWithComplete
protocol then they will be expecting the application to inform them
when all work intended for them has been sent (and responded to).
The participant has completed it works, but wishes to continue in
the business activity, so that it will eventually be told when (and how)
the activity terminates.
Enlist the specified participant with current transaction such that it
will participate in the 2PC protocol; a unique identifier for the
participant is also required.
Enlist the specified participant with current transaction such that it
will participate in the Volatile 2PC protocol; a unique identifier for
the participant is also required.
If the participant enquired as to the status of the transaction it was
registered with and an error occurs (e.g., the transaction service is
unavailable) then this operation will be invoked.
Prepared: it is prepared to commit or rollback depending on the final
transaction outcome, and it has made sufficient state updates persistent
to accomplish this.
Prepared: it is prepared to commit or rollback depending on the final
transaction outcome, and it has made sufficient state updates persistent
to accomplish this.
If the participant enquires as to the status of the transaction it was
registered with and that transaction is no longer available (has rolled
back) then this operation will be invoked by the coordination service.
When asked to prepare, a 2PC participant returns one of three types of
vote:
ReadOnly: does not need to be informed of the transaction outcome as no
state updates were made.
When asked to prepare, a 2PC participant returns one of three types of
vote:
ReadOnly: does not need to be informed of the transaction outcome as no
state updates were made.