February 2015
Intermediate to advanced
198 pages
4h 17m
English
Message filters are Spring Integration components, which act as an interceptor and decide whether to pass on the message to the next channel/component or drop it. Unlike routers, which decide what should be the next channel for a message, filters only take a boolean decision—whether to pass or not. There are two ways to define a message filter in Spring Integration:
MessageSelector interfaceThis can be configured either in XML or annotations can be used.
Let's take an example of using a simple Java class as a filter—this ...
Read now
Unlock full access