Case: Start: create transaction
- Insert Data to DB (Machine A)
- send sync JMS message to Queue (Machine A)
- receive JMS message from the Queue (Machine B)
- Insert Data to DB and return (Machine B)
- further process in (Machine A)
End: Commit transaction
Can the process in Machine A and B working with one transaction. Therefore, process A rollback if the process B rollback and vice versa ?
Is there any example? Any extra server/component are needed?