Best to ask these questions on us...@camel.apache.org, this is for development of Camel itself. Unless I'm misunderstanding your question, you can simply use Wireshark ( http://www.jroller.com/gmazza/entry/compressing_soap_messages , http://www.jroller.com/gmazza/entry/soap_calls_over_wireshark) to determine that GZIP is being used.

Glen

On 11/14/2012 08:27 AM, BobbySixKiller wrote:
Hi,

I have some issues with gzip compression and soap requests.

I used apache camel to call a soap webservice using cxf.

When i call myself the ws with the "Accept-Encoding: gzip" header, i've got
the "Content-Encoding" header in response.

But when i call the same soap ws with apache camel i've got no
"Content-Encoding" header in response.
I 've add the "Accept-Encoding: gzip" header in my route just before the
call to my soap ws and also added the following:
<cxf:features>
                <bean class="org.apache.cxf.transport.common.gzip.GZIPFeature"/>
            </cxf:features>

I've got no errors, but how can i be sure the gzip compression is working
since i've got no "Content-Encoding" header ?



--
View this message in context: 
http://camel.465427.n5.nabble.com/Soap-and-gzip-compression-tp5722722.html
Sent from the Camel Development mailing list archive at Nabble.com.


--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza

Reply via email to