【发布时间】:2016-01-15 20:27:20
【问题描述】:
我正在使用 spring 集成 (4.0.6) 使用 int-http:outbound-gateway 和 int-ws:outbound-gateway 从 rest 服务进行 SOAP 调用。有没有办法只在异常情况下记录 SOAP 请求消息。
<int:gateway id="myGateway" service-interface="myservice">
<int:method name="getData" request-channel="reqChannel" reply-channel="repChannel">
</int-gateway>
我的出站网关配置如下
<int-http:outbound-gateway id="og1" request-channel="reqChannel" url="xxx" http-method="POST" reply-channel="repChannel" reply-timeout="10000" message-converters="converter" request-factory="reqFactory">
<bean id="reqFactory"
class="org.springframework.http.client.SimpleClientHttpRequestFactory">
<property name="cTimeout" value="20000"/>
<property name="rTimeout" value="20000"/>
</bean>
【问题讨论】:
-
请停止破坏您的帖子,将其回滚到早期的、不完整的版本。如果您希望请求解除关联,以便您的姓名不再与帖子相关联,请使用页面底部的“联系我们”链接。
-
我昨天两次联系(与我们联系)删除我的帖子及其修订。你能帮我删除这篇文章的修订版和这篇文章吗?谢谢。
-
@HariBajavada 这是周末。这些事情在周末需要更长的时间。