1 Reply Latest reply on Nov 26, 2003 11:24 AM by adrian.brock

    distributed transactions

    korper

      Is it possible to share a transaction between two seperate JBossMQ installations. Say, I have two seperate Jboss installations A and B.

      - A starts a transaction
      - A send a JMS message
      - B accepts the message and inserts some data into a database
      - A detects an error and performs a rollback

      Is there a way to let server B rollback its inserts initiated by the rollback of server A.


      Thanks,

        • 1. Re: distributed transactions

          No that is fundamentally not supported by JMS.

          The send and receive are always in different transactions.
          The send is to the server and the receive is from the server.
          The clients know nothing about each other.

          Regards,
          Adrian