Skip to content

Instantly share code, notes, and snippets.

@yasirjanjua
Created August 12, 2020 12:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yasirjanjua/f9f26a4f72125c6d1695e32792863b1f to your computer and use it in GitHub Desktop.
Save yasirjanjua/f9f26a4f72125c6d1695e32792863b1f to your computer and use it in GitHub Desktop.
Sample WSO2 Endpoint for a MockService
<?xml version="1.0" encoding="UTF-8"?>
<endpoint name="events-delivery-endpoint" xmlns="http://ws.apache.org/ns/synapse">
<http method="post" uri-template="http://localhost:8290/services/EventsConsumerService">
<suspendOnFailure>
<errorCodes>-1</errorCodes>
<initialDuration>0</initialDuration>
<progressionFactor>1.0</progressionFactor>
<maximumDuration>0</maximumDuration>
</suspendOnFailure>
<markForSuspension>
<errorCodes>-1</errorCodes>
<retriesBeforeSuspension>0</retriesBeforeSuspension>
</markForSuspension>
</http>
</endpoint>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment