You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Harald Wellmann (JIRA)" <ji...@apache.org> on 2012/09/05 14:30:08 UTC
[jira] [Created] (CAMEL-5571) Camel proxies should not forward
hashCode() method invocations
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
[jira] [Updated] (CAMEL-5571) Camel proxies should not forward
hashCode() method invocations
Posted by "Harald Wellmann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Harald Wellmann updated CAMEL-5571:
-----------------------------------
Attachment: camel-proxy-bug.zip
> 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
[jira] [Assigned] (CAMEL-5571) Camel proxies should not forward
hashCode() method invocations
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen reassigned CAMEL-5571:
----------------------------------
Assignee: Claus Ibsen
> 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
> 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
[jira] [Resolved] (CAMEL-5571) Camel proxies should not forward
hashCode() method invocations
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Updated] (CAMEL-5571) Camel proxies should not forward
hashCode() method invocations
Posted by "Claus Ibsen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-5571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen updated CAMEL-5571:
-------------------------------
Fix Version/s: 2.10.2
2.11.0
2.9.4
> 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