Can Acca Acc participate in transaction XA?

Can Akka participate in an XA transaction ? For example, can an actor send a message to a remote player within the same XA transaction as a database operation (assuming the JDBC driver is an XA driver) so that if the database operation fails, the actor will not send a message?

+4
source share
1 answer

You can connect to transaction synchronization to send a message when tx was committed.

But keep in mind the semantics of sending messages. There is no ACID guarantee in connection with the actor. This is undesirable.

0
source

All Articles