You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Rajeev Hathi <ra...@gmail.com> on 2009/08/24 16:42:33 UTC

GZIPFeature: Zero threshold does not work

>
> 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
>
>