synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiranya Jayathilaka (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SYNAPSE-902) Fault sequence gets invoked even when the responseAction of an endpoint timeout is set to discard.
Date Mon, 22 Jul 2013 22:40:49 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Hiranya Jayathilaka reassigned SYNAPSE-902:
-------------------------------------------

    Assignee: Hiranya Jayathilaka
    
> Fault sequence gets invoked even when the responseAction of an endpoint timeout is set
to discard.
> --------------------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-902
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-902
>             Project: Synapse
>          Issue Type: Bug
>          Components: Endpoints
>            Reporter: Nuwan Dias
>            Assignee: Hiranya Jayathilaka
>         Attachments: SYNAPSE-902.patch
>
>
> Consider the following proxy service configuration. 
> <proxy name="TimeoutProxy" transports="https http" startOnLoad="true" trace="disable">

>       <description/> 
>       <target faultSequence="fault"> 
>          <endpoint> 
>             <address uri="http://serverhost/TimeoutService/"> 
>                <timeout> 
>                   <duration>1000</duration> 
>                   <responseAction>discard</responseAction> 
>                </timeout> 
>             </address> 
>          </endpoint> 
>          <outSequence> 
>             <send/> 
>          </outSequence> 
>       </target> 
> </proxy>
> The address endpoint is configured to discard the message if a timeout occurs. But it
still invokes the fault sequence on a timeout. This is the same behavior of having 'fault'
as the <responseAction>.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message