You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Isuru Udana Loku Narangoda (JIRA)" <ji...@apache.org> on 2013/07/22 05:42:48 UTC

[jira] [Created] (SYNAPSE-951) EndpointDefinition Serialization issue

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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org