At some point, you may have a service that returns a lot of fields and related objects. What if the service consumer doesn’t want all the fields all the time? In other words, they would like to have the response filtered. This is where the Content Filter comes to the rescue. After you read this article, you will learn how to use it in your own scenarios. So let’s roll!
This is the opposite pattern to Enricher Pattern – more about it you can be found here.
This syndicated content is provided by Mulesoft and was originally posted at https://blogs.mulesoft.com/dev/howto/content-filter-pattern-rest-service/