|
Spring Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Inherited @Documented public @interface ServiceActivator
Indicates that a method is capable of handling a message or message payload.
A method annotated with @ServiceActivator 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 of any type. If the return value is not a Message, a reply Message will be created with that object as its payload.
Optional Element Summary | |
---|---|
String |
inputChannel
|
String |
outputChannel
|
public abstract String inputChannel
public abstract String outputChannel
|
Spring Integration | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |