You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/06/07 13:38:21 UTC
[jira] [Commented] (SYNAPSE-1039) Send Mediator inside Fault
Sequence blocks if SSL exception occurred.
[ https://issues.apache.org/jira/browse/SYNAPSE-1039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318474#comment-15318474 ]
Hudson commented on SYNAPSE-1039:
---------------------------------
SUCCESS: Integrated in Synapse - Trunk #5269 (See [https://builds.apache.org/job/Synapse%20-%20Trunk/5269/])
Patch by Isuru Janith Ranawaka that fixes send mediator inside a fault mediator from hanging when SSL exception occurs. SYNAPSE-1039 (ravi: rev 1747219)
* java/modules/core/src/main/java/org/apache/synapse/core/axis2/SynapseCallbackReceiver.java
* java/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/PassThroughConstants.java
* java/modules/transports/core/nhttp/src/main/java/org/apache/synapse/transport/passthru/Pipe.java
> 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: 2.1
> Reporter: isuru janith ranawaka
> Assignee: Hiranya Jayathilaka
> Priority: Critical
> Fix For: 3.0
>
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org