Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-2128

Rollback does not work for transactional routes using camel-cxf

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 1.6.2, 2.1.0
    • camel-cxf
    • None
    • Patch Available

    Description

      I have a request reply service that should be able to do three different
      things:

      1) no exception occurs in the implementation: The jms Message should be
      committed and the normal reply should be sent
      2) The implementation throws an exception defined in the service contract:
      The jms message should be committed and a fault should be sent
      3) The implemementation throws another kind of exception: The message delivery should
      be rolled back so it can be received again

      Case 1 and 2 currently work as expected.

      For Case 3 a fault is returned to the caller and the transaction is committed which is wrong.

      Attachments

        1. appcontext.xml
          5 kB
          Christian Schneider
        2. patch.txt
          1 kB
          Christian Schneider
        There are no Sub-Tasks for this issue.

        Activity

          People

            njiang Willem Jiang
            cschneider Christian Schneider
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: