I have the following http outbound gateway. How can I do this configuration with Java Config or Spring DSL?
<int-http:outbound-gateway id="test"
url="http://localhost:8080/"
http-method="POST"
charset="UTF-8"
header-mapper="soapHeaderMapper"
request-factory="requestFactory"
request-channel="inputChannel"/>