Rectangle 27 5

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>

Ok ... I got it .... noJsonFlow is another flow where I defined a logger

validation - How to validate content type=JSON in Mule - Stack Overflo...

json validation mule mule-el
Rectangle 27 0

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>

Ok ... I got it .... noJsonFlow is another flow where I defined a logger

validation - How to validate content type=JSON in Mule - Stack Overflo...

json validation mule mule-el