SmooksExceptions should be checked
----------------------------------
Key: SWITCHYARD-231
URL:
https://issues.jboss.org/browse/SWITCHYARD-231
Project: SwitchYard
Issue Type: Enhancement
Components: transformation
Reporter: Michael Burman
Executing Smooks might lead to throwing SmooksException in the process. If the environment
is transacted, the action is always rollbacked and message returned to the previous phase.
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).
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira