3 ms·
You still have to handle the case where your transaction fails though. So you actually end up writing the same thing you'd do if you didn't have transactions: y
by lmm 6y ago
You still have to handle the case where your transaction fails though. So you actually end up writing the same thing you'd do if you didn't have transactions: you issue an attempt to reserve, wait for the response to that attempt (whether that's transaction commit succeeding/failing or a queue processor processing), and handle both possible results. The transaction support doesn't actually help you because it's at the wrong level to be useful.