|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={PARAMETER,METHOD}) @Retention(value=RUNTIME) @Documented public @interface Payloads
This annotation marks a method parameter as being a list of message payloads, for POJO handlers that deal with lists of messages (e.g. aggregators and release strategies).
Example:
void foo(@Payloads("city.name") List<String> cityName)
- will map the value of the 'name' property of the 'city'
property of all the payload objects in the input list.
Optional Element Summary | |
---|---|
java.lang.String |
value
Expression for matching against nested properties of the payloads. |
public abstract java.lang.String value
|
Spring Integration | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |