2012-02-22 20 views
3

外部化屬性我試圖將「http:conduit」的「名稱」外化,因爲我想從外部文件配置它。我的代碼是這樣的,有人知道如何做到這一點?如何從http:conduit java

<http:conduit name="https://myExternalPath/services/.*"> 

    <http:tlsClientParameters secureSocketProtocol="SSL" disableCNCheck="true"> 
     <sec:trustManagers> 
      <sec:certStore file="${certificateName}" /> 
     </sec:trustManagers> 
    </http:tlsClientParameters> 

</http:conduit> 

我想外部化HTTP的名字:管道,因爲我與」秒做:的CertStore

謝謝

回答