I have a Transaction from data of MQ -> some RDBMS statements -> another data of MQ.

How can I utilize Spring to ensure the above Transaction completes or none is done at all?