For anyone else who might need this information...

bradtwurst wrote:
> 
> 2) Is there anyway to send/configure specific http header options.  I was
> thinking about trying to close the connection after each request from the
> servicemix side as a test ('connection close' header option).
> 


The following code will include the connection:close option in the http
request header when using the pojo client api to create the message that
will be delivered via an http BC provider.

                                Map<String, String> headers = new 
HashMap<String, String>();
                                headers.put("Connection", "close");
                                
message.setProperty("javax.jbi.messaging.protocol.headers",
                                                headers);

where message is the NormalizedMessage that is to be sent.


James
-- 
View this message in context: 
http://www.nabble.com/http-sessions-not-releasing-with-a-bc-provider-soap-request-tf3274875s12049.html#a9109923
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to