I am using spring integration to send information to other systems via JMS. Currently in the system we have the following steps:
- update a status in the oracle database to say "Approved"
- send a JMS message off to external system.
- commit
a. So what if sending of JMS at (2) fails? How can we know and roll back DB? b. What if commit at (3) fails? How do we roll back?
Code or sample config example would be helpful.
Thanks GM