Annotation Type Payloads
@Target({PARAMETER,METHOD}) @Retention(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.
- Since:
- 2.0
- Author:
- Dave Syer