You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/10/22 14:45:52 UTC
[jira] Commented: (CAMEL-2101) CamelProxy - Convert output to
method return type
[ https://issues.apache.org/activemq/browse/CAMEL-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54917#action_54917 ]
Claus Ibsen commented on CAMEL-2101:
------------------------------------
This avoid class cast exceptions such as
{code}
java.lang.ClassCastException: java.lang.String
at $Proxy6.submitOrderAsDocument(Unknown Source)
at org.apache.camel.component.bean.BeanProxyTest.testBeanProxyAsDocument(BeanProxyTest.java:42)
{code}
> CamelProxy - Convert output to method return type
> -------------------------------------------------
>
> Key: CAMEL-2101
> URL: https://issues.apache.org/activemq/browse/CAMEL-2101
> Project: Apache Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 2.0.0
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.1.0
>
>
> CamelInvocationHandler should detect which return type the method has (if it has any, as it can be void).
> And convert the payload to that type.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.