6 Replies Latest reply on Oct 19, 2010 5:10 AM by Sergiu Pienar

    Transaction Manager JBOSS & HornetQ

    Sergiu Pienar Expert

      Hi ,

      Let's assume we have the following situation :

      JBoss is configured to work alongside HornetQ .When an insert/update/delete is sent to the database

      HornetQ also sends a message to the client.The question is : if that insert/update/delete fails thus being rollbacked

      can HornetQ be configured in such a manner that the message HornetQ sent is also rolledback -preventing it to

      reach the client , if the main transaction failed.


      Clearly put , either both (insert/update/delete and HornetQ message) are commited either both are rolledback.