2015-04-01 41 views

回答

0

設置以下提前端點選項

  1. 端點掛起狀態 - >錯誤代碼:-1
  2. 端點超時狀態 - >錯誤代碼:-1
  3. 連接超時 - >動作:從不超時

下面是一個示例端點配置

<endpoint xmlns="http://ws.apache.org/ns/synapse" name="SampleEndpoint"> 
    <address uri="http://sample.com/services"> 
     <suspendOnFailure> 
     <errorCodes>-1</errorCodes> 
     <progressionFactor>1.0</progressionFactor> 
     </suspendOnFailure> 
     <markForSuspension> 
     <errorCodes>-1</errorCodes> 
     <retriesBeforeSuspension>0</retriesBeforeSuspension> 
     <retryDelay>0</retryDelay> 
     </markForSuspension> 
    </address> 
</endpoint> 
相關問題