0

Case: Start: create transaction

  1. Insert Data to DB (Machine A)
  2. send sync JMS message to Queue (Machine A)
  3. receive JMS message from the Queue (Machine B)
  4. Insert Data to DB and return (Machine B)
  5. 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?

suiaing
  • 31
  • 1
  • 4

1 Answers1

0

you will need some sort of transaction server, I'd suggest to use JOTM

jdevelop
  • 12,176
  • 10
  • 56
  • 112