@Target(value={METHOD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @Documented public @interface Splitter
A method annotated with @Splitter may accept a parameter of type
Message
or of the expected
Message payload's type. Any type conversion supported by
SimpleTypeConverter
will be applied to
the Message payload if necessary. Header values can also be passed as
Message parameters by using the @Header
parameter annotation.
Return values from the annotated method may be either a Collection or Array with elements of any type. If the type is not a Message, each will be used as the payload for creating a new Message.
Modifier and Type | Optional Element and Description |
---|---|
String[] |
adviceChain |
String |
autoStartup |
String |
inputChannel |
String |
outputChannel |
String |
phase |
Poller[] |
poller |
public abstract String inputChannel
public abstract String outputChannel
public abstract String[] adviceChain
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.