[ https://issues.apache.org/jira/browse/CAMEL-4301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved CAMEL-4301. ----------------------------------------- Resolution: Not A Problem > cxfEndpoint serviceClass attribute should accept an interface or an anstract > class > ---------------------------------------------------------------------------------- > > Key: CAMEL-4301 > URL: https://issues.apache.org/jira/browse/CAMEL-4301 > Project: Camel > Issue Type: Improvement > Components: camel-cxf > Reporter: Jean-Baptiste Onofré > > If you define a route looking like: > <cxf:cxfEndpoint id="wsBean" > serviceClass="net.nanthrax.test.camel.cxf.WSBean" > address="http://0.0.0.0:9090/test"/> > <camelContext xmlns="http://camel.apache.org/schema/spring"> > <route> > <from uri="cxf:bean:wsBean"/> > <to uri="direct:bean"/> > </route> > <route> > <from uri="direct:bean"/> > <to uri="serviceBean"/> > </route> > </camelContext> > the methods of the CXF endpoint wsBean are just facade (the route doesn't use > the implementation of the wsBean method, and map the method definition to the > serviceBean target bean). > It could be confusing for the users: they have to define methods body but > it's not used :) > It could be fine to use directly an interface or an abstract class in > serviceClass. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira