|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={METHOD,TYPE}) @Retention(value=RUNTIME) public @interface Publisher
Annotation to indicate that a method, or all public methods if applied at class-level, should publish Messages whose payloads will be determined by the provided EL expression.
Optional Element Summary | |
---|---|
java.lang.String |
channel
Name of the Message Channel to which Messages will be published. |
java.lang.String[] |
headers
String representations of Spel Expressions to evaluate for adding any headers to the Message. |
java.lang.String |
value
String representation of a Spel Expression to evaluate when creating the Message payload. |
public abstract java.lang.String value
public abstract java.lang.String[] headers
public abstract java.lang.String channel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |