Spring Global ClientInterceptor

问题描述 投票:0回答:1

我有一个遗留应用程序,该应用程序消耗大量客户服务。最近,需要为每个请求添加一个自定义的http安全标头。一种方法是为每个WebServiceTemplate添加一个ClientInterceptor,但我觉得这是重复的代码。有没有办法应用全局ClientInterceptor?

正如我所说的,这是一个遗留系统,仍然建立在Spring Fw 3.2.2.RELEASE和spring-ws 2.0.6-RELEASE之上

spring spring-integration spring-ws
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.