Harald Wellmann created CAMEL-5571:
--------------------------------------

             Summary: 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
         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

Reply via email to