Created
September 16, 2015 11:37
-
-
Save dulichan/90b8cfe840eb2248b267 to your computer and use it in GitHub Desktop.
Returning 404 response for WSO2 ESB instead of 202
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Exact sequence name as below should be there. This name is used inside the API implementation in Synapse --> | |
<sequence xmlns="http://ws.apache.org/ns/synapse" name="_resource_mismatch_handler_"> | |
<log level="full"/> | |
<property name="HTTP_SC" value="404" scope="axis2"></property> | |
<respond/> | |
<drop></drop> | |
</sequence> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<sequence xmlns="http://ws.apache.org/ns/synapse" name="main"> | |
<description>The main sequence for the message mediation</description> | |
<in> | |
<!-- Log all messages passing through --> | |
<log level="full"/> | |
<!-- Return 404 --> | |
<property name="HTTP_SC" value="404" scope="axis2"></property> | |
<respond/> | |
<drop></drop> | |
</in> | |
</sequence> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment