synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Isuru Udana Loku Narangoda (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYNAPSE-951) EndpointDefinition Serialization issue
Date Mon, 22 Jul 2013 03:42:49 GMT

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

Isuru Udana Loku Narangoda updated SYNAPSE-951:
-----------------------------------------------

    Attachment: SYNAPSE-951.patch

Please find the patch to fix this issue from the attachment.
                
> EndpointDefinition Serialization issue
> --------------------------------------
>
>                 Key: SYNAPSE-951
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-951
>             Project: Synapse
>          Issue Type: Bug
>            Reporter: Isuru Udana Loku Narangoda
>         Attachments: SYNAPSE-951.patch
>
>
> <endpoint name="EchoServiceEp">
>    <address uri="http://10.200.3.190:8281/services/echo">
>       <timeout>
>          <duration>2000</duration>
>       </timeout>
>       <suspendOnFailure>
>          <initialDuration>60000</initialDuration>
>          <progressionFactor>2.0</progressionFactor>
>       </suspendOnFailure>
>       <markForSuspension>
>          <errorCodes>101000,101500</errorCodes>
>          <retriesBeforeSuspension>3</retriesBeforeSuspension>
>       </markForSuspension>
>       <retryConfig>
>          <disabledErrorCodes>101507,101509</disabledErrorCodes>
>       </retryConfig>
>    </address>
> </endpoint>
> When the above endpoint configuration is serialized, unnecessary <responseAction/>
element get added to <timeout> section as follows.
>     <timeout>
>           <duration>2000</duration>
>            <responseAction/>
>      </timeout>
> This makes the configuration invalid and configuration built failure.

--
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