FUSE Mediation Router
  1. FUSE Mediation Router
  2. MR-156

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

    Details

    • Type: Feature Request Feature Request
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Done
    • Affects Version/s: 1.5.4.0-fuse
    • Fix Version/s: 2.2.0-fuse-01-00
    • Component/s: None
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      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.

        Activity

        Hide
        Claus Ibsen
        added a comment -

        Idea about rollback came from DEV-1421

        Show
        Claus Ibsen
        added a comment - Idea about rollback came from DEV-1421
        Hide
        Claus Ibsen
        added a comment -

        Implemented this feature in Camel 2.0

        Show
        Claus Ibsen
        added a comment - Implemented this feature in Camel 2.0

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            Claus Ibsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: