I'm using HttpOutboundEndpoint but can't see any way to add my own http headers without maybe using AOP. The JavaDoc of CommonsHttpRequestExecutor suggests you can override the setRequestBody method
but it's marked as private. Any ideas anyone??
"Set the given byte stream as the request body. * <p>This implementation simply sets the byte stream as the * EntityEnclosingMethod's request body. This can be overridden, for * example, to write a specific encoding and potentially set appropriate * HTTP request headers"