Not sure about this commit.... This commit would make this area of the code NOT work at all with CXF 2.5.x and older. I'm personally OK with that since 2.10 is primarily tested with 2.6, but I'm not sure if that's the ideal situation. If it is, then the OSGi import ranges for CXF need updating as well to reflect that.
Dan On Thursday, May 10, 2012 09:59:00 AM bvah...@apache.org wrote: > Author: bvahdat > Date: Thu May 10 09:58:59 2012 > New Revision: 1336571 > > URL: http://svn.apache.org/viewvc?rev=1336571&view=rev > Log: > org.apache.cxf.frontend.MethodDispatcher has been deprecated. > > Modified: > > camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component > /cxf/DefaultCxfBinding.java > > Modified: > camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component > /cxf/DefaultCxfBinding.java URL: > http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/main/ja > va/org/apache/camel/component/cxf/DefaultCxfBinding.java?rev=1336571&r1=13 > 36570&r2=1336571&view=diff > ========================================================================= > ===== --- > camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component > /cxf/DefaultCxfBinding.java (original) +++ > camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component > /cxf/DefaultCxfBinding.java Thu May 10 09:58:59 2012 @@ -52,7 +52,6 @@ > import org.apache.cxf.binding.soap.SoapB > import org.apache.cxf.binding.soap.SoapHeader; > import org.apache.cxf.endpoint.Client; > import org.apache.cxf.endpoint.Endpoint; > -import org.apache.cxf.frontend.MethodDispatcher; > import org.apache.cxf.headers.Header; > import org.apache.cxf.helpers.CastUtils; > import org.apache.cxf.helpers.DOMUtils; > @@ -63,10 +62,12 @@ import org.apache.cxf.message.Message; > import org.apache.cxf.message.MessageContentsList; > import org.apache.cxf.security.SecurityContext; > import org.apache.cxf.service.Service; > +import org.apache.cxf.service.invoker.MethodDispatcher; > import org.apache.cxf.service.model.BindingMessageInfo; > import org.apache.cxf.service.model.BindingOperationInfo; > import org.apache.cxf.service.model.MessagePartInfo; > import org.apache.cxf.service.model.OperationInfo; > + > import org.slf4j.Logger; > import org.slf4j.LoggerFactory; -- Daniel Kulp dk...@apache.org - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com