mule soft filters
TRANSCRIPT
![Page 1: Mule soft filters](https://reader035.vdocuments.mx/reader035/viewer/2022081517/58aa0d431a28ab8a488b55a3/html5/thumbnails/1.jpg)
Abhishek Jain
![Page 2: Mule soft filters](https://reader035.vdocuments.mx/reader035/viewer/2022081517/58aa0d431a28ab8a488b55a3/html5/thumbnails/2.jpg)
Filters Topic for next session Reference
![Page 3: Mule soft filters](https://reader035.vdocuments.mx/reader035/viewer/2022081517/58aa0d431a28ab8a488b55a3/html5/thumbnails/3.jpg)
Filters are basically used for deciding whether a message can process through an application flow or not.
If we want to avoid the processing of certain messages from message processors as they don’t want irrelevant message then this can be used easily for dropping those messages
Mulesoft has provided more than 12+ filters to use in the application and more common for any of the application (like and, or, not, payload, expression)
Mulesoft has also given flexibility to create custom global filter and use it within application
![Page 4: Mule soft filters](https://reader035.vdocuments.mx/reader035/viewer/2022081517/58aa0d431a28ab8a488b55a3/html5/thumbnails/4.jpg)
![Page 5: Mule soft filters](https://reader035.vdocuments.mx/reader035/viewer/2022081517/58aa0d431a28ab8a488b55a3/html5/thumbnails/5.jpg)
-Expression Filters are used for validating the MEL against required data-In the below example, I have used expression filter to validate the payload and excluded the “/favicon.ico”
![Page 6: Mule soft filters](https://reader035.vdocuments.mx/reader035/viewer/2022081517/58aa0d431a28ab8a488b55a3/html5/thumbnails/6.jpg)
Filters
![Page 8: Mule soft filters](https://reader035.vdocuments.mx/reader035/viewer/2022081517/58aa0d431a28ab8a488b55a3/html5/thumbnails/8.jpg)