@Target(value={METHOD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented public @interface Aggregator
A method annotated with @Aggregator may accept a collection of Messages or Message payloads and should return a single Message or a single Object to be used as a Message payload.
Modifier and Type | Optional Element and Description |
---|---|
String |
autoStartup |
String |
discardChannel |
String |
inputChannel |
String |
outputChannel |
String |
phase |
Poller[] |
poller |
boolean |
sendPartialResultsOnExpiry |
long |
sendTimeout |
public abstract String inputChannel
public abstract String outputChannel
public abstract String discardChannel
public abstract long sendTimeout
public abstract boolean sendPartialResultsOnExpiry
public abstract String autoStartup
public abstract String phase
public abstract Poller[] poller
Poller
options for a polled endpoint
(PollerMetadata
).
This attribute is an array
just to allow an empty default (no poller).
Only one Poller
element is allowed.