Jetty integration is explained in the Jetty docs available here:
https://www.eclipse.org/jetty/documentation/current/jndi-configuration.html#configuring-xa-transactions
Note: as always, make sure to use Atomikos datasources (not so clear from the Jetty docs).
At the time, the Jetty crew has sponsored development of the JMS topic functionality in
TransactionsEssentials - for which we are still grateful!