我试图了解如何使用 java 注释而不是使用 spring.xml 来配置 http cxf 管道。
这是我要转换为 java bean 的 xml。
<http-conf:conduit name="*.http-conduit">
<http-conf:client ConnectionTimeout="${http.connection.timeout:300000}"
ReceiveTimeout="${http.read.timeout:300000}"/>
<http-conf:tlsClientParameters
disableCNCheck="${transport.tslClientParameters.disableCNCheck}">
<sec:trustManagers>
<sec:keyStore type="${transport.tslClientParameters.storeType}"
resource="${transport.tslClientParameters.trustStore}"
password="${transport.tslClientParameters.trustStorePassword}"/>
</sec:trustManagers>
<sec:cipherSuitesFilter>
<sec:include>.*_EXPORT_.*</sec:include>
<sec:include>.*_EXPORT1024_.*</sec:include>
<sec:include>.*_WITH_DES_.*</sec:include>
<sec:include>.*_WITH_AES_.*</sec:include>
<sec:include>.*_WITH_NULL_.*</sec:include>
<sec:exclude>.*_DH_anon_.*</sec:exclude>
</sec:cipherSuitesFilter>
</http-conf:tlsClientParameters>
</http-conf:conduit>
到目前为止,我已经尝试查看Apache CXF 文档中的文档,但仍然没有给出太多线索。