3.2.7.32 Set Transaction Timeout
The Set Transaction Timeout event MUST be signaled with the following arguments:
A transaction object
A time span
If the Set Transaction Timeout event is signaled, the Core Transaction Manager Facet (section 1.3.3.3.1) MUST perform the following actions:
If the transaction state is not Active:
Signal the Set Transaction Timeout Failure (section 3.4.7.21) event on the Transaction Manager communicating with an Application facet with the provided transaction object.
Otherwise:
Cancel the Transaction Timeout Timer (section 3.2.2.1).
Set the transaction Timeout field to the provided value.
Update the transaction timer's timeout value to the provided timespan value.
Signal the Set Transaction Timeout Success (section 3.4.7.22) event on the Transaction Manager communicating with an Application facet with the transaction object.