@Target(value={METHOD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @MessageMapping @Documented public @interface StreamListener
EnableBinding
(e.g. a channel).
Annotated methods are allowed to have flexible signatures, as described by MessageMapping
.
If the method returns a Message
, the result will be automatically sent
to a channel, as follows:
Message
will be sent as-isMessage
MessageHeaders
of the resulting message.SendTo
annotation, if presentMessageMapping}
,
EnableBinding}
,
org.springframework.messaging.handler.annotation.SendTo}
public abstract String value
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.