Hi On 07/08/12 00:30, Justin Robbins wrote:
Hello,I am using a custom ResponseHandler. The documentation states you can ignore the MessageBodyWriter (Jackson in my case) by setting the following property: message.getExchange().put("ignore.response.writers", true); I am setting the property but Jackson is still handling the serialization. Is there something else I should be aware of? I can confirm my ResponseHandler is getting called and I am returning a null from this method. http://cxf.apache.org/docs/jax-rs-filters.html#JAX-RSFilters-IgnoringJAXRSMessageBodyWriters
Works OK for me, I updated the test response handler and could see that this property was taking effect. Do you have a non null Response entity and set this property ? In this case the provider will write directly to the stream.
Please provide a bit more info Cheers, Sergey
I am using CXF v2.5.2. Many thanks! Justin
