Re: getting default value Connection: Keep-Alive while sending request to CXF endpoint

2014-11-07 Thread ashwin74268
Nevermind, I got it fixed myself.

This can be done using HttpConduit http-conf:conduit in spring configuration
of your component.

Best Regards,
Ashwin



--
View this message in context: 
http://camel.465427.n5.nabble.com/getting-default-value-Connection-Keep-Alive-while-sending-request-to-CXF-endpoint-tp5758547p5758709.html
Sent from the Camel - Users mailing list archive at Nabble.com.


getting default value Connection: Keep-Alive in

2014-11-05 Thread ashwin74268
Hi ,
I am trying to connect to an external entity which does not support
Persistent Connections. I tried to set the Connection:close Header in
Exchange object but it appears to be getting filtered out by
DefaultCXFBinding. I saw some post where it says the following HTTP Headers
will be filtered before the request is sent:

content-length
content-type
cache-control
*connection*
date
pragma
trailer
transfer-encoding
upgrade
via
warning

Here is my code to requestBody:-

Object response =
_camelEndpointProducerTemplate.requestBody(submitEndpointName,
camelRouteData);

How can avoid Connection Header from getting filtered ?

Any suggestion would help me progress.

Best Ragards,
Ashwin



--
View this message in context: 
http://camel.465427.n5.nabble.com/getting-default-value-Connection-Keep-Alive-in-tp5758547.html
Sent from the Camel - Users mailing list archive at Nabble.com.