Isuru Udana Loku Narangoda created SYNAPSE-951:
--------------------------------------------------
Summary: 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: [email protected]
For additional commands, e-mail: [email protected]