[mule-jira] Created: (MULE-4104) Reterning an error message as the payload from an exception strategy currently does not work

View: New views
5 Messages — Rating Filter:   Alert me  

[mule-jira] Created: (MULE-4104) Reterning an error message as the payload from an exception strategy currently does not work

by JIRA no-reply@mulesource.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Reterning an error message as the payload from an exception strategy currently does not work
--------------------------------------------------------------------------------------------

                 Key: MULE-4104
                 URL: http://mule.mulesource.org/jira/browse/MULE-4104
             Project: Mule
          Issue Type: Bug
          Components: Core: Exception Handling
    Affects Versions: 2.1.x Backlog
            Reporter: Ross Mason
            Assignee: Ross Mason


Mule always returns a NullPayload regardless.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[mule-jira] Commented: (MULE-4104) Returning an error message as the payload from an exception strategy currently does not work

by JIRA no-reply@mulesource.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://www.mulesource.org/jira/browse/MULE-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=30728#action_30728 ]

Travis Carlson commented on MULE-4104:
--------------------------------------

Based on the title, I thought this was the same issue as MULE-4234 but from reading the description of EE-1605 I think it is a different thing.

> Returning an error message as the payload from an exception strategy currently does not work
> --------------------------------------------------------------------------------------------
>
>                 Key: MULE-4104
>                 URL: http://www.mulesource.org/jira/browse/MULE-4104
>             Project: Mule
>          Issue Type: Bug
>          Components: Core: Exception Handling
>    Affects Versions: Bug Backlog (2.1.x, 2.2.x)
>            Reporter: Ross Mason
>            Assignee: Travis Carlson
>            Priority: Critical
>             Fix For: ITR22, Bug Backlog (2.1.x, 2.2.x)
>
>
> Mule always returns a NullPayload regardless.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[mule-jira] Commented: (MULE-4104) Returning an error message as the payload from an exception strategy currently does not work

by JIRA no-reply@mulesource.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://www.mulesource.org/jira/browse/MULE-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32313#action_32313 ]

Travis Carlson commented on MULE-4104:
--------------------------------------

http://fisheye.codehaus.org/changelog/mule/?cs=15990

You can now do this, but you need to call AbstractExceptionListener.setReturnMessage(message) from within your exception strategy.

For 3.x it would be nice to simply add an optional return message to the ExceptionListener method:
    public MuleMessage exceptionThrown(Exception e)

However, I didn't do this for 2.2.x so as no not break the API.

> Returning an error message as the payload from an exception strategy currently does not work
> --------------------------------------------------------------------------------------------
>
>                 Key: MULE-4104
>                 URL: http://www.mulesource.org/jira/browse/MULE-4104
>             Project: Mule
>          Issue Type: Bug
>          Components: Core: Exception Handling
>    Affects Versions: Bug Backlog (2.1.x, 2.2.x)
>            Reporter: Ross Mason
>            Assignee: Travis Carlson
>            Priority: Critical
>             Fix For: Bug Backlog (2.1.x, 2.2.x)
>
>
> Mule always returns a NullPayload regardless.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[mule-jira] Closed: (MULE-4104) Returning an error message as the payload from an exception strategy currently does not work

by JIRA no-reply@mulesource.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://www.mulesource.org/jira/browse/MULE-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Travis Carlson closed MULE-4104.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Bug Backlog (2.1.x, 2.2.x))
                   3.x
                   2.2.3 (EE only)
                   ITR25

> Returning an error message as the payload from an exception strategy currently does not work
> --------------------------------------------------------------------------------------------
>
>                 Key: MULE-4104
>                 URL: http://www.mulesource.org/jira/browse/MULE-4104
>             Project: Mule
>          Issue Type: Bug
>          Components: Core: Exception Handling
>    Affects Versions: Bug Backlog (2.1.x, 2.2.x)
>            Reporter: Ross Mason
>            Assignee: Travis Carlson
>            Priority: Critical
>             Fix For: ITR25, 2.2.3 (EE only), 3.x
>
>
> Mule always returns a NullPayload regardless.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[mule-jira] Commented: (MULE-4104) Returning an error message as the payload from an exception strategy currently does not work

by JIRA no-reply@mulesource.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://www.mulesource.org/jira/browse/MULE-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32315#action_32315 ]

Travis Carlson commented on MULE-4104:
--------------------------------------

3.x:
http://fisheye.codehaus.org/changelog/mule/?cs=15991

> Returning an error message as the payload from an exception strategy currently does not work
> --------------------------------------------------------------------------------------------
>
>                 Key: MULE-4104
>                 URL: http://www.mulesource.org/jira/browse/MULE-4104
>             Project: Mule
>          Issue Type: Bug
>          Components: Core: Exception Handling
>    Affects Versions: Bug Backlog (2.1.x, 2.2.x)
>            Reporter: Ross Mason
>            Assignee: Travis Carlson
>            Priority: Critical
>             Fix For: ITR25, 2.2.3 (EE only), 3.x
>
>
> Mule always returns a NullPayload regardless.

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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email