If XA_Transaction is started in one flow service and ended in other flow service with couple of insert statement in both service what would be behaviour of insert statement?
- insertion committed in both service or insertion committed in either of the service or none?
Hi,
as long as the transaction context remains intact (make sure you hand over the transactionId explicitly to the next service to be sure), the commit for this transaction context should commit all inserts associated with this transactionId.
The same applies for an eventual rollback.
Can you explain your use case a bit mor in detail please?
Regards,
Holger