[ 
https://issues.apache.org/jira/browse/CAMEL-6014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13743709#comment-13743709
 ] 

Mark Ford commented on CAMEL-6014:
----------------------------------

I'm not using the sub resource locator. I haven't reviewed the patch but I can 
confirm that the serviceClass *must* be a class in all cases. This contradicts 
the documentation and your comment above. I haven't been able to extract a test 
case from my application to submit as a patch but I will try to do that today.

Either the documentation needs to change to not support using an interface for 
the serviceClass attribute value or the CxfRsInvoker needs to change to defer 
the instantiation of the serviceClass until it encounters a sub resource 
locator request. Still, in this case, the documentation should change to be 
explicit as to when a class is required versus an interface.
                
> cxf:rsServer requires class instead of interface in the serviceClass attribute
> ------------------------------------------------------------------------------
>
>                 Key: CAMEL-6014
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6014
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-cxf
>    Affects Versions: 2.10.3
>            Reporter: Jason Chaffee
>
> See Issue CAMEL-4014

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

Reply via email to