2012-08-14 3 views
1

이런 문제가 있습니다. 나는 다른 엔드 포인트에 요청을 보내기 위해 클론을 사용한다. 그러나 엔드 포인트가 시간 초과 된 경우 응답 메시지를 집계 할 수 없습니다. 누군가 나를 도울 수 있니? 고마워요? 오류 메시지 :클론 조정자와 시간 초과를 처리하는 방법은 무엇입니까?

[2012-08-14 09:44:08,077] WARN - EndpointContext Endpoint : Endpoint_AAA_101000 
will be marked SUSPENDED as it failed 
[2012-08-14 09:44:08,077] WARN - EndpointContext Suspending endpoint : Endpoint 
_AAA_101000 - current suspend duration is : 30000ms - Next retry after : Tue Aug 
14 09:44:38 CST 2012 
[2012-08-14 09:45:07,593] INFO - HTTPSender Unable to sendViaPost to url[http:/ 
/localhost:8280/services/CMSLevelService.CMSLevelServiceHttpSoap12Endpoint] 
java.net.SocketTimeoutException: Read timed out 

서비스 설정 :

<proxy xmlns="http://ws.apache.org/ns/synapse" name="CMSLevelService" transports="https,http" statistics="disable" trace="disable" startOnLoad="true"> 
    <target> 
     <inSequence> 
      <clone sequential="false"> 
       <target endpoint="Endpoint_AAA_100000" /> 
       <target endpoint="Endpoint_AAA_101000" /> 
       <target endpoint="Endpoint_Portal_100000" /> 
       <target endpoint="Endpoint_Portal_101000" /> 
       <target endpoint="Endpoint_PortalMS" /> 
       <target endpoint="Endpoint_SME" /> 
       <target endpoint="Endpoint_USM" /> 
      </clone> 
     </inSequence> 
     <outSequence> 
     <log level="full" /> 
     <aggregate> 
      <completeCondition> 
       <messageCount min="10" max="10" /> 
      </completeCondition> 
      <onComplete xmlns:s12="http://www.w3.org/2003/05/soap-envelope" xmlns:s11="http://schemas.xmlsoap.org/soap/envelope/" expression="//message"> 
       <log level="full" /> 
       <send /> 
      </onComplete> 
     </aggregate> 
     </outSequence> 
    </target> 
</proxy> 

답변

0

당신은 집계에 대한 Completion Timeout을 설정할 수 있습니다. 그런 다음 시간 초과 응답을 삭제합니다. 친애하는.

관련 문제