Uploaded image for project: 'JBoss ESB'
  1. JBoss ESB
  2. JBESB-3609

SmooksException handling

    Details

    • Type: Enhancement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 4.9 CP1
    • Fix Version/s: None
    • Component/s: Transformation Service
    • Labels:
      None

      Description

      Executing SmooksAction might lead to throwing SmooksException in the process. If the environment is transacted (JCA is used), the service is always rollbacked and message returned to the queue. This is not correct behaviour often, since Smooks throws SmooksException for example in case of SAXParseException. That processed file is broken and will not work in the subsequent phases either. Writing any database log for example of happening is impossible since that would be rollbacked as well.

      All SmooksException should be checked whether they should be rollbacked or not (or just never rollback them, throw them as checked exceptions).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                burmanm Michael Burman
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: