Hi,
Now that 2.7.8 is available (thanks for all the hard work on this!) I've been changing my code to try & set the map.cxf.interceptor.fault bus property to enable me to handle in interceptor exceptions in my rest exception mapper.
I've managed to do this fine programmatically in my tests using:
bus = BusFactory.newInstance().createBus();
bus.setProperty("map.cxf.interceptor.fault", true);
but I just can't work out how to set this via Spring config. I've tried:
<cxf:bus name="cxf">
<cxf:properties>
<entry key="map.cxf.interceptor.fault" value="true"/>
</cxf:properties>
</cxf:bus>
but this seems to ignore the property.
Any advice much appreciated!
Thanks
Mandy
Now that 2.7.8 is available (thanks for all the hard work on this!) I've been changing my code to try & set the map.cxf.interceptor.fault bus property to enable me to handle in interceptor exceptions in my rest exception mapper.
I've managed to do this fine programmatically in my tests using:
bus = BusFactory.newInstance().createBus();
bus.setProperty("map.cxf.interceptor.fault", true);
but I just can't work out how to set this via Spring config. I've tried:
<cxf:bus name="cxf">
<cxf:properties>
<entry key="map.cxf.interceptor.fault" value="true"/>
</cxf:properties>
</cxf:bus>
but this seems to ignore the property.
Any advice much appreciated!
Thanks
Mandy