I have made a simple example how to instantiate and use XA-transactions inside Quarkus. Example consumes message from Artemis MQ and commits it into PostgreSQL database. Here is the link