isuru janith ranawaka created SYNAPSE-1039:
----------------------------------------------

             Summary: Send Mediator inside Fault Sequence blocks if SSL 
exception occured.
                 Key: SYNAPSE-1039
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-1039
             Project: Synapse
          Issue Type: Bug
          Components: Core, Transports
    Affects Versions: 1.1
            Reporter: isuru janith ranawaka
            Assignee: Hiranya Jayathilaka
            Priority: Minor
             Fix For: FUTURE


If SSL related exception occurred within a proxy service or sequence and if it 
is configured with Fault Sequence then if custom payload created inside fault 
sequence and trying to send the message to external service is blocked and 
timeout occurs at client side. 

Issue can be reproduced by loading following artifacts. 

<proxy xmlns="http://ws.apache.org/ns/synapse";
       name="TestProxy"
       transports="https,http"
       statistics="disable"
       trace="disable"
       startOnLoad="true">
   <target faultSequence="MyFaultSequency">
      <inSequence>
         <log level="full"/>
         <send>
            <endpoint>
               <address uri="https://localhost:8088/mockssl"/>
            </endpoint>
         </send>
      </inSequence>
      <outSequence>
         <log>
            <property name="OutSequence" value="***** OUT **************"/>
         </log>
         <respond/>
      </outSequence>
   </target>
   <description/>
</proxy>
<sequence xmlns="http://ws.apache.org/ns/synapse"; name="MyFaultSequency">
   <log>
      <property name="faultSequence" value="*****Inside fault 
sequence*****"></property>
   </log>
   <header name="Action" scope="default" 
value="http://www.webserviceX.NET/ConversionRate";></header>
   <send receive="RespondSeq">
      <endpoint>
               <address uri="http://localhost:8088/mock"/>
            </endpoint>
   </send>
</sequence>

<sequence xmlns="http://ws.apache.org/ns/synapse"; name="RespondSeq">
   <log>
      <property name="faultSequence" value="*****Inside fault respond 
sequence*****"></property>
   </log>
   <send/>
</sequence>





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to