【问题标题】:Logging http request in Spring integration http outbound gateway在 Spring 集成 http 出站网关中记录 http 请求
【发布时间】:2015-07-29 03:40:51
【问题描述】:

有没有办法(例如拦截器)记录通过 Spring Integration http 出站网关发送的请求?

【问题讨论】:

    标签: spring spring-integration


    【解决方案1】:

    是的;将ClientHttpRequestInterceptor 实现注入出站网关使用的RestTemplate

    使用rest-template 属性在网关中注入模板。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-06-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多