|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented public @interface Filter
Indicates that a method is capable of playing the role of a Message Filter.
A method annotated with @Filter may accept a parameter of type
Message
or of the expected
Message payload's type. Any type conversion supported by default or any
Converters registered with the "integrationConversionService" bean will be
applied to the Message payload if necessary. Header values can also be passed
as Message parameters by using the @Header
parameter annotation.
The return type of the annotated method must be a boolean (or Boolean).
Optional Element Summary | |
---|---|
java.lang.String |
inputChannel
|
java.lang.String |
outputChannel
|
public abstract java.lang.String inputChannel
public abstract java.lang.String outputChannel
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |