As far as I can tell the only Message header parameters that are used on an outbound HTTP request are REQUEST_URL and REQUEST_METHOD.
Is HTTP Basic authentication supported somehow?
As far as I can tell the only Message header parameters that are used on an outbound HTTP request are REQUEST_URL and REQUEST_METHOD.
Is HTTP Basic authentication supported somehow?
Well, I guess I can create a Commons.HttpClient with authentication scopes and set it on a CommonsHttpRequestExecutor that I use as the executor of the outbound gateway
That's the best approach for 1.0.x.
The next 2.0 milestone will be building on Spring 3.0's RestTemplate, and so things will change a bit, but this will be a similarly configurable option (CommonsClientHttpRequestFactory).
Mark Fisher
Spring Integration Lead
SpringSource, a division of VMware
http://www.springsource.com
http://www.springsource.org/spring-integration
http://blog.springsource.com/main/author/markf