Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-156

Add a rollback() DSL to force a rollback for transacted exchanges

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.2.0-fuse-01-00
    • 1.5.4.0-fuse
    • None
    • None

    Description

      When you want to rollback a TX with Spring TX you need to throw a runtime exception.

      It would be nicer with a rollback DSL that can set a marker on the exchange and then the Spring TX interceptor can notice this and force a rollback.

      As the rollkback() should also work under non TX conditiions it should throw a runtime exception for non TX exchanges.
      Or we should just add a new RollbackExchangeException that will be thrown.

      Attachments

        Activity

          People

            cibsen@redhat.com Claus Ibsen
            cibsen@redhat.com Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: