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-5571) Camel proxies should not forward hashCode() method invocations
Date Fri, 28 Sep 2012 14:03:07 GMT

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

Claus Ibsen resolved CAMEL-5571.
--------------------------------

    Resolution: Fixed

Thanks for reporting. Your test cases now passes.
                
> Camel proxies should not forward hashCode() method invocations
> --------------------------------------------------------------
>
>                 Key: CAMEL-5571
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5571
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.10.1
>            Reporter: Harald Wellmann
>            Assignee: Claus Ibsen
>             Fix For: 2.9.4, 2.11.0, 2.10.2
>
>         Attachments: camel-proxy-bug.zip
>
>
> Given a Camel proxy for an @InOnly service interface, and a route from the proxy to a
JMS endpoint, calling hashCode() on the proxy throws an exception, either immediately or after
a number of retries, depending on the route configuration.
> See the attached test case for different scenarios.
> The reason is that hashCode() is forwarded by the CamelInvocationHandler to the remote
endpoint, which does not make sense in this case.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message