camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-2101) CamelProxy - Convert output to method return type
Date Thu, 22 Oct 2009 12:45:52 GMT

    [ 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.


Mime
View raw message