This documentation is for WSO2 API Manager 2.0.0 View documentation for the latest release.
Page Comparison - Prevent API Suspension (v.3 vs v.4) - API Manager 2.0.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: https://support.wso2.com/jira/browse/WSODOCINTERNAL-787

...

For more details about creating and publishing an API, see Create and Publish an API.

Info

If you are using WSO2 ESB, do Do the following to avoid backend endpoint suspension per API.

  1. Go to <APIM_HOME>/repository/deployment/server/synapse-configs/default/api
  2. Open the configuration file of the API, that has to be prevented from being suspended. (e.g. admin--testApi_v1.0.0.xml)
  3. Add the following configurations

    Code Block
     <endpoint name="admin--testApi_APIproductionEndpoint_0">
     	<address uri="http://localhost:9000/services/SimpleStockQuoteService">
    		<timeout>
    			<duration>30000</duration>
    			<responseAction>fault</responseAction>
    		</timeout>
    		<suspendOnFailure>
    			<errorCodes>-1</errorCodes>
    			<initialDuration>0</initialDuration>
    			<progressionFactor>1.0</progressionFactor>
    			<maximumDuration>0</maximumDuration>
    		</suspendOnFailure>
    		<markForSuspension>
    			<errorCodes>-1</errorCodes>
    		</markForSuspension>
    	</address>
     </endpoint>