camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-5122) RMI endpoint doesn't handle nested exception and raise CamelRuntimeException instead of RemoteException
Date Mon, 11 Jun 2012 07:43:47 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-5122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-5122.
--------------------------------

    Resolution: Fixed
    
> RMI endpoint doesn't handle nested exception and raise CamelRuntimeException instead
of RemoteException
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-5122
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5122
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-rmi
>    Affects Versions: 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.7.3, 2.8.5, 2.9.2
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Claus Ibsen
>             Fix For: 2.9.3, 2.10.0
>
>
> When we have a route looking like:
> <from uri="rmi:..."/>
> <to uri="myBean"/>
> if an exception is raised on myBean, the RMI endpoint ignores the exception described
in the RemoteInterface and always raises a RuntimeCamelException nesting the original exceptions.
> More over, RuntimeCamalException should not be raised by the RMI endpoint. It would make
more sense to raise a RemoteException, as we are on a RMI endpoint.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message