You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2011/03/22 04:54:05 UTC
[jira] [Created] (CAMEL-3796) CxfRsProducer should support
invoking methods with no parameters
CxfRsProducer should support invoking methods with no parameters
-----------------------------------------------------------------
Key: CAMEL-3796
URL: https://issues.apache.org/jira/browse/CAMEL-3796
Project: Camel
Issue Type: Improvement
Components: camel-cxf
Reporter: Willem Jiang
Fix For: 2.8.0
Current CxfRsProducer will try to locate the method invocation for calling the proxy client by using the reflection API.
It can't handle the no parameters rightly as the message body could be null, and the user needs to apply custom converter to work around this issue.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-3796) CxfRsProducer should support
invoking methods with no parameters
Posted by "Ben O'Day (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-3796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009709#comment-13009709 ]
Ben O'Day commented on CAMEL-3796:
----------------------------------
Willem, can you provide a simple test case for this scenario. I see the CxfRsProducerTest.testGetConstumersWithClientProxyAPI() test uses a NULL body and is able to resolve the method "getCustomers()" correctly...
> CxfRsProducer should support invoking methods with no parameters
> -----------------------------------------------------------------
>
> Key: CAMEL-3796
> URL: https://issues.apache.org/jira/browse/CAMEL-3796
> Project: Camel
> Issue Type: Improvement
> Components: camel-cxf
> Reporter: Willem Jiang
> Fix For: 2.8.0
>
>
> Current CxfRsProducer will try to locate the method invocation for calling the proxy client by using the reflection API.
> It can't handle the no parameters rightly as the message body could be null, and the user needs to apply custom converter to work around this issue.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-3796) CxfRsProducer should support
invoking methods with no parameters
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-3796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009979#comment-13009979 ]
Willem Jiang commented on CAMEL-3796:
-------------------------------------
Hi Ben,
If you revert my change in CxfRsProducer, you will see the old camel cxfrs producer didn't support to resolve the method with a no parameters.
Willem
> CxfRsProducer should support invoking methods with no parameters
> -----------------------------------------------------------------
>
> Key: CAMEL-3796
> URL: https://issues.apache.org/jira/browse/CAMEL-3796
> Project: Camel
> Issue Type: Improvement
> Components: camel-cxf
> Reporter: Willem Jiang
> Fix For: 2.8.0
>
>
> Current CxfRsProducer will try to locate the method invocation for calling the proxy client by using the reflection API.
> It can't handle the no parameters rightly as the message body could be null, and the user needs to apply custom converter to work around this issue.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (CAMEL-3796) CxfRsProducer should support
invoking methods with no parameters
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-3796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009980#comment-13009980 ]
Willem Jiang commented on CAMEL-3796:
-------------------------------------
Here is some discussion in Fuse Forums about it.
http://fusesource.com/forums/thread.jspa?messageID=9722
> CxfRsProducer should support invoking methods with no parameters
> -----------------------------------------------------------------
>
> Key: CAMEL-3796
> URL: https://issues.apache.org/jira/browse/CAMEL-3796
> Project: Camel
> Issue Type: Improvement
> Components: camel-cxf
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.8.0
>
>
> Current CxfRsProducer will try to locate the method invocation for calling the proxy client by using the reflection API.
> It can't handle the no parameters rightly as the message body could be null, and the user needs to apply custom converter to work around this issue.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (CAMEL-3796) CxfRsProducer should support
invoking methods with no parameters
Posted by "Willem Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CAMEL-3796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang resolved CAMEL-3796.
---------------------------------
Resolution: Fixed
Assignee: Willem Jiang
> CxfRsProducer should support invoking methods with no parameters
> -----------------------------------------------------------------
>
> Key: CAMEL-3796
> URL: https://issues.apache.org/jira/browse/CAMEL-3796
> Project: Camel
> Issue Type: Improvement
> Components: camel-cxf
> Reporter: Willem Jiang
> Assignee: Willem Jiang
> Fix For: 2.8.0
>
>
> Current CxfRsProducer will try to locate the method invocation for calling the proxy client by using the reflection API.
> It can't handle the no parameters rightly as the message body could be null, and the user needs to apply custom converter to work around this issue.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira