Hello,
I already have a nice custom CXF request handler filter which I would like
to know if it is possible to plug into a Spring MVC web application which
has resources annotated like so:
@RequestMapping(value="/version.json",
method = RequestMethod.GET,
produces="application/json")
So my question is really is it possible to plugin the:
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
and the:
<servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
Into the same app so then I can make use of my cxf request handler filter
like so:
<jaxrs:server id="jaxrs-myService" address="/">
<jaxrs:serviceBeans>
<bean class="bbc.forge.dsp.jaxrs.ThingApi">
<constructor-arg ref="responseHandler"/>
</bean>
</jaxrs:serviceBeans>
<jaxrs:providers>
<ref bean="whitelistFilter"/>
</jaxrs:providers>
</jaxrs:server>
Ideally I would only use one framework but for now that isn't possible.
Maybe it isn't possible?
Thanks
Jon
--
View this message in context:
http://cxf.547215.n5.nabble.com/Spring-MVC-with-Apache-CXF-Request-Handler-tp5710746.html
Sent from the cxf-user mailing list archive at Nabble.com.