Skip to content

Instantly share code, notes, and snippets.

@javaduke
Last active August 29, 2015 13:56
Show Gist options
  • Save javaduke/8958199 to your computer and use it in GitHub Desktop.
Save javaduke/8958199 to your computer and use it in GitHub Desktop.
<choice>
<when expression="#[payload.size != 0]">
<!-- Add processing logic here -->
</when>
<otherwise>
<set-property propertyName="http.status" value="404"/>
<set-payload value="Quoth the server, 404"/>
</otherwise>
</choice>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment