spring-framework / org.springframework.messaging.handler.annotation / Payload / <init>

<init>

Payload(value: String, expression: String, required: Boolean)

Annotation that binds a method parameter to the payload of a message. Can also be used to associate a payload to a method invocation. The payload may be passed through a MessageConverter to convert it from serialized form with a specific MIME type to an Object matching the target method parameter.

Author
Rossen Stoyanchev

Author
Sam Brannen

Since
4.0