Not working with a 0 value is definitely a bug.   Setting it to 1 should be 
fine though.   

What type of fault are you getting?

Dan


On Fri August 21 2009 3:32:38 pm Rajeev Hathi wrote:
> Hi,
>
> I am trying to send GZIP based compressed response from the service
> endpoint back to the client. For that I used JaxWsServerFactory bean
> component and added a GZIPFeature with a threshold value of 0 (it means
> compress message anywayz). But unfortunate part is, its not compressing.
> When I provide the threhold value greater than 0 then it throws a fault
> error and performs some part compression. The question here is why it does
> not perform compression with '0' threshold? I have set the client conduit
> with Accept Encoding as 'gzip'. I see the output using tcpmon. Will
> appreciate your response. Thx
>
> Raj
> P.S.: I am using CXF version 2.2.1

-- 
Daniel Kulp
[email protected]
http://www.dankulp.com/blog

Reply via email to