7 Replies Latest reply on Nov 14, 2007 3:32 AM by marklittle

    Transactions

    davidlar

      Hi!

      Is there any transaction support in JBossESB, so that messages won't be lost if e.g. an action fails when processing the message? I'm new to this, so it's probably a dumb question, but I cannot find anything on e.g. jms acknowledge in the source code.

      Regards
      David

        • 1. Re: Transactions
          marklittle

          Transaction support is on our to-do list. Since we have JBossTS in-house it shouldn't be a problem to integrate.

          • 2. Re: Transactions
            davidlar

            OK, so how are people solving this today?

            • 3. Re: Transactions
              kurtstam

              Typically ESBs are not transactional, since it is not straightforward to implement transactions spanning multiple systems. People use compensating transactions to back already comitted work back out.

              --Kurt

              • 4. Re: Transactions
                dlarsson

                Wouldn't it be wise to use transaction/jms acknowledgement internally in the ESB. That would prevent loosing a message if there is a failure when a message is received from one queue, but before it is inserted into a new one.

                /David

                • 5. Re: Transactions
                  marklittle

                  Transaction support is something we will have in place in a later release. However, end-to-end transaction semantics with traditional ACID transactions is something that doesn't really work in a loosely coupled environment such as a SOA infrastructure. That's why we worked on defining extended transaction protocols such as WS-BA.

                  • 6. Re: Transactions
                    mwax

                    What is the state-of-the-art in 4.2? I am looking for the simple transactional behavior requested in the original post: I want a message to be placed back on a queue if an exception occurs in a service.

                    • 7. Re: Transactions
                      marklittle

                      Not enough information. Are you referring to JMS, ESB or vanilla TS? Also, please create a separate forum entry if this is not related to the original posters request.