2 Replies Latest reply on May 23, 2011 3:06 AM by Sergiu Pienar

    Transactional Scenario in HornetQ 2.2.2

    Sergiu Pienar Expert



      I am interested in knowing if the following scenario is supported in HornetQ 2.2.2 :


      1.)A transaction T1 is started and it does some work

      2.)Inside T1 another transaction T2 is started which sends a message

      3.)Transaction T1 fails and it is rolled-back


      My question is ... if T1 and T2 are both rolled-back ... does HornetQ support a feature such as pulling the message sent back from the queue ?(The message is ment to reach the queue only iff the transaction is successful otherwise it should be removed from the queue).