1 Reply Latest reply on Aug 26, 2004 11:09 AM by adrian.brock

    HA-JMS & Transactions

      Hi,
      I've a problem with messages that gets posted on a HA-JMS queue before the transaction has been committed. Hence, the message will be delivered even though, later on, the transaction is been marked for roll back.
      The same scenario with "ordinary" JMS works just fine (no message is delivered if the transaction is rolled back).

      I'm using JBoss 3.2.5 and did follow the instructions on the Wiki web.

      Is this a configuration issue?
      Or is it just "by design", HA-JMS not supporting transactions?

      Many thanks in advance,
      Anders

        • 1. Re: HA-JMS & Transactions

          HA-JMS has nothing to do with transactions.

          It is about making the jms administered objects available on a separate machine
          in the event of a failure.

          In the event of a failure during a transaction you have to "roll it back" (in practice
          discard it - using connection.close()), and retry with a new connection.