How to validate content type=JSON in Mule
You can still use the is-json-filter
but you need to wrap it in a message filter so you can control the "else" path:
<message-filter onUnaccepted="noJsonFlow" throwOnUnaccepted="false"> <json:is-json-filter /></message-filter>