WSO2 ESB 5.0.0 does not support processing any mediators added after the send mediator in a given sequence because it may lead to erroneous behaviors when the message stream is consumed by the send mediator in passthrough scenarios. Therefore, if you have sequences with mediators after the send mediator, you need to change those sequences to have the send mediator inside a clone mediator, thereby, it will clone the message and process it separately. For example, see below.
<switch xmlns:ns="http://org.apache.synapse/xsd" source="get-property('XYZ')">
<case regex="CASE1 ">
<property name="#### CASE ####" value="IN CASE1"/>
<sequence key="DI.SEQTEST.PQR "/>
<property name="#### DEFAULT ####" value="IN DEFAULT"/>