mule soft filters_2
TRANSCRIPT
![Page 1: Mule soft filters_2](https://reader038.vdocuments.mx/reader038/viewer/2022100801/58a357371a28ab14598b592f/html5/thumbnails/1.jpg)
MuleSoft Filters Session 2
Abhishek Jain
![Page 2: Mule soft filters_2](https://reader038.vdocuments.mx/reader038/viewer/2022100801/58a357371a28ab14598b592f/html5/thumbnails/2.jpg)
Agenda Filters Topic for next session Reference
![Page 3: Mule soft filters_2](https://reader038.vdocuments.mx/reader038/viewer/2022100801/58a357371a28ab14598b592f/html5/thumbnails/3.jpg)
Filters (Continuation….)Message Filter-A single filter which can have multiple filter associated with it-A message should match the criteria in order to process with in rest of the flow in application-This filter gives the flexibility to throw exception on “not accepting” the message which can be later on catch using the exception strategy and process accordingly
![Page 4: Mule soft filters_2](https://reader038.vdocuments.mx/reader038/viewer/2022100801/58a357371a28ab14598b592f/html5/thumbnails/4.jpg)
Message Property Filter-Filter which allows you to add some logic based on the value of one or more properties of a message-It has access to all the message properties (inbound, ourbound, session, application)
![Page 5: Mule soft filters_2](https://reader038.vdocuments.mx/reader038/viewer/2022100801/58a357371a28ab14598b592f/html5/thumbnails/5.jpg)
Idempotent Filter-Most reliable filter for dropping the messages which are duplicate-Host the message reference in memory object store but can be configured to use for file/persistent store
-Some examples include dropping duplicate
orders/messages/processing the files-ID section of this filter can be configured to take user defined expression and decide the duplicity of the message based on that
![Page 6: Mule soft filters_2](https://reader038.vdocuments.mx/reader038/viewer/2022100801/58a357371a28ab14598b592f/html5/thumbnails/6.jpg)
Some More Filters-WildCard Filter:
-Applies a wildcard pattern to the message payload
-Exception Type Filter:-Filter that matches an exception type
-RegExFilter:-Applies a Regular Expression pattern to the message payload
![Page 7: Mule soft filters_2](https://reader038.vdocuments.mx/reader038/viewer/2022100801/58a357371a28ab14598b592f/html5/thumbnails/7.jpg)
Next Session
Mule Variables/Properties
![Page 9: Mule soft filters_2](https://reader038.vdocuments.mx/reader038/viewer/2022100801/58a357371a28ab14598b592f/html5/thumbnails/9.jpg)
Thank You