Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


A JMX console (like the JDK jconsole tool) can be used to list in-doubt transactions and to heuristically terminate them. Just have a look at the org.hornetq/Server/Core JMX object which contains 3 interesting operations: listPreparedTransactions, commitPreparedTransaction, rollbackPreparedTransaction.

Unfortunately testing showed that this doesn't work (or at least not the way it should) and the server gets confused after the TM recovered messages. The HornetQ needs to be restarted before message delivery restarts.Still under investigation.

Example ResourceLoader configuration