[
https://issues.apache.org/jira/browse/SYNAPSE-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
isuru janith ranawaka updated SYNAPSE-1039:
-------------------------------------------
Description:
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>
<send/>
</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>
was:
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>
> Send Mediator inside Fault Sequence blocks if SSL exception occurred.
> ---------------------------------------------------------------------
>
> 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
>
> Attachments: synapse_1039.diff
>
>
> 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>
> <send/>
> </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]