uCosminexus Service Platform, Overview
The transaction control of the reply activity is described here.
For details on how to asynchronously execute the activity defined after reply activity, see "3.7 Asynchronous execution of an activity that is defined after reply activity".
When an activity is not defined after the reply activity, the status of the reply activity during the execution of the reply activity transitions to (Completed), and the transaction is committed just before responding with a message.
Figure 3-44 Transaction control when an activity is not defined after the reply activity
When an activity is defined after the reply activity and you use Reliable Messaging for executing the activity after reply, transaction control is as follows:
Figure 3-45 Transaction control when an activity is defined after the reply activity and Reliable Messaging is used for execution of the activity after reply
Figure 3-46 Transaction control when Reliable Messaging is used to execute an activity after reply and there is an exception in the activity defined after reply activity
When an activity is defined after the reply activity and you use asynchronous EJB to execute the activity after reply, transaction control is as follows:
Figure 3-47 Transaction control when an activity is defined after reply activity and asynchronous EJB is used for executing the activity after reply
Figure 3-48 Transaction control when an asynchronous EJB is used to execute an activity after reply, and an exception occurs in the activity defined after the reply activity
Figure 3-49 Transaction control when asynchronous EJB is used to execute an activity after reply, and an exception occurs at the time of executing asynchronous EJB
The following lists the transaction and status transition of the reply activity.
Table 3-11 Transaction and status transition of the reply activity
Reply activity operation | When Reliable Messaging is used for executing the reply activity | When asynchronous EJB is used for executing the reply activity | |
---|---|---|---|
Start | Transition to status | Completed | Completed |
Transaction control | N# | N # | |
Asynchronous execution request to Reliable Messaging | Transition to status | - | (Non-executable) |
Transaction control | N | ||
Asynchronous execution response from Reliable Messaging | Transition to status | - | |
Transaction control | N | ||
Asynchronous execution request to asynchronous EJB | Transition to status | (Non-executable) | (Completedwait) |
Transaction control | N # | ||
Asynchronous execution response from asynchronous EJB | Transition to status | Completed | |
Transaction control | N # | ||
Omission | Transition to status | Omission | Omission |
Transaction control | N | N | |
Unomission | Transition to status | Unomission | Unomission |
Transaction control | N | N |
All Rights Reserved. Copyright (C) 2015, Hitachi, Ltd.