A single blockchain transaction that swaps two assets either succeeds or fails as a whole, so it is ACID-like, except "durability" is at risk if there is a conflicting transaction which double-spends the same funds against the original one. In that case the payment in both directions will fail.