Conditional Success Action
<endpoint name="foo">
<success if="${language}" equals="en">
<response-from-static filename="path-to-english-file"/>
</success>
<success if="${language}" equals="de">
<response-from-static filename="path-to-german-file"/>
</success>
<success if="${language}" notequals="es">
<response-from-static filename="path-to-english-file"/>
</success>
<success>
<!-- no condition => "otherwise" -->
<response-from-static filename="path-to-spanish-file"/>
</success>
</endpoint><success if="${delivery-address}" notequals="${invoice-address}">Last updated