【问题标题】:Spring web service outbound gatewaySpring Web 服务出站网关
【发布时间】:2015-12-11 18:49:50
【问题描述】:

这是一个要求,我想明确提及与其他外部系统通信使用 TLSV1.2 而不是默认的 TLSV1.0 我如何覆盖或实现这个要求

<int-ws:outbound-gateway id="someID"
request-channel="clientRequest" reply-channel="clientReply"
uri="some.com" reply-timeout="1000" marshaller="clientMarshaller" 
unmarshaller="clientMarshaller" message-sender="messageSender" >
</int-ws:outbound-gateway>

【问题讨论】:

    标签: spring spring-integration


    【解决方案1】:

    看起来您使用的是 Java 7,对我来说这应该对您有所帮助:

    -Dhttps.protocols=TLSv1.2
    

    更多信息,请here

    【讨论】:

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