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 2010/12/31 09:57:46 UTC

[jira] Resolved: (CAMEL-3474) Why I can not implement the logic directly in resource classes of CXF RS

     [ https://issues.apache.org/jira/browse/CAMEL-3474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-3474.
--------------------------------

       Resolution: Invalid
    Fix Version/s: 2.6.0

Please prefer to use the mailing list or discussion forums for this kind of questions.
This involves the community and then later there may be a consensus that there is an issue with Camel, and then after that a JIRA ticket can be logged.

http://camel.apache.org/discussion-forums.html
http://camel.apache.org/mailing-lists.html



> Why I can not implement the logic directly in resource classes of CXF RS
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-3474
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3474
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 2.5.0
>         Environment: Apache ServiceMix, Linux
>            Reporter: Ali Yang
>             Fix For: 2.6.0
>
>
> I know resource classes in CXF RS just like a configuration, used to map rest paths with operation names.  After doing that, I have to use the operation name to navigator to the real method which implement the logic. Or I have to reflect to invoke the methods of resource classes, like the way to invoke the method of BookStoreImpl, in "camel-example-cxf".
> So my question is why Camel do not provide the function to simplify that. I do not think the programer should write code to reflect method invocation.
> P.S. what's the pros and cons, compare with use CXF directly and use Camel CXF component  as a Web Service server.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.