【发布时间】:2017-03-09 11:18:55
【问题描述】:
你能告诉我如何记录 SOAP 消息,即使消息格式不正确?
<sws:interceptors>
<bean class="com.capgemini.manulife.integration.interceptor.LogInterceptor" />
</sws:interceptors>
<!-- inbound -->
<ws:inbound-gateway id="cas-inbound-gateway" request-channel="casRequestChannel" reply-channel="casResponseChannel"
marshaller="casMarshaller" unmarshaller="casMarshaller" />
<int:channel id="casRequestChannel">
<int:interceptors>
<int:wire-tap channel="SOAPLogChannel"/>
</int:interceptors>
</int:channel>
<int:channel id="SOAPLogChannel" />
<int:logging-channel-adapter id="logger" expression="payload" level="INFO" channel="SOAPLogChannel"/>
如你所见,我已经在使用 PayloadLoggingInterceptor(LogInterceptor 扩展 PayloadLoggingInterceptor),但它没有通过 PayloadLoggingInterceptor
谢谢你和最好的问候,
【问题讨论】:
标签: spring web-services spring-integration