【发布时间】:2012-12-07 18:38:53
【问题描述】:
我是 Spring 集成的新手。要进行休息网络服务调用,我有以下配置。
<int-http:outbound-gateway
url="#{appProperties['rootUrl']}#{appProperties['myMethod']}"
request-channel="myRequestChannel" reply-channel="myResponseChannel" >
</int-http:outbound-gateway>
但我还应该传递身份验证信息(用户名和密码)来进行网络服务调用。如何通过http:outbound-gateway发送认证信息?
【问题讨论】:
标签: java spring spring-integration