[esb-issues] [JBoss JIRA] Resolved: (JBESB-1689) org.jboss.soa.esb.actions.scripting.GroovyActionProcessor doesn't throw an ActionProcessingException if the Process(Message)-method fails

Mark Little (JIRA) jira-events at lists.jboss.org
Wed Jul 9 15:14:37 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBESB-1689?page=all ]

Mark Little resolved JBESB-1689.
--------------------------------

    Fix Version/s: 4.4
       Resolution: Done

It should throw ActionProcessingException in the case of an error.

> org.jboss.soa.esb.actions.scripting.GroovyActionProcessor doesn't throw an ActionProcessingException if the Process(Message)-method fails
> -----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBESB-1689
>                 URL: http://jira.jboss.com/jira/browse/JBESB-1689
>             Project: JBoss ESB
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Process flow
>    Affects Versions: 4.2.1
>            Reporter: Morten Damm Jensen
>         Assigned To: Mark Little
>             Fix For: 4.4
>
>   Original Estimate: 10 minutes
>  Remaining Estimate: 10 minutes
>
> The Process(Message)-method in org.jboss.soa.esb.actions.scripting.GroovyActionProcessor is surrounded with a try-catch, and if an Exception is caught is is just logged and then the Message is returned.
> Instead of returning the Message it should throw an ActionProcessingException!
> If not, it is impossible for the surrounding environment to take action on this error, and it will assume that the processing was successful.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the esb-issues mailing list