Answer:
- Allows complex processing on a message while maintaining independence and flexibility
- Filters that use the same external interface can be composed into different solutions, by connecting the components to different pipes, without having to change the filters themselves
- Filters are easy to reuse in different contexts than large components
- Multi-processing of filters, for example running them in parallel or quasi-parallel, is possible
Asked In: Many Interviews |
Alert Moderator