Write the consequence down, then carry it out
A state change that must cause something elsewhere does not do it directly. It writes the new state and a command row in one local transaction; dispatchers carry the rows out afterwards. A crash cannot lose a consequence, a retry cannot repeat one, and no distributed transaction is needed.
Exchange
Payload
No XA
The state and the command that acts on it commit in the same database transaction. The broker is only involved later, when the command runs.
One owner, fenced
SKIP LOCKED gives each row to one replica; a claim token and a lease fence out a replica that paused or died. Effects and the acknowledgement commit together.
Never forever
Failures back off from 1 second to a minute, then the row is dead and visible. Replay keeps its identity and receipts, so nothing that already happened happens again.