@Target(value={METHOD,ANNOTATION_TYPE}) @Retention(value=RUNTIME) @MessageMapping @Documented public @interface StreamListener
EnableBinding
(e.g. channels).
Annotated methods are allowed to have flexible signatures, which determine how
the method is invoked and how their return results are processed. This annotation
can be applied for two separate classes of methods.
MessageMapping.
The value must be the name of an Input bound target.
If the method returns a Message, the result will be automatically sent
to a channel, as follows:
Message will be sent as-isMessageMessageHeaders of the resulting message.SendTo annotation, if presentInput or Output and can
be either bound elements (e.g. channels) or conversion targets from bound elements
via a registered StreamListenerParameterAdapter.MessageMapping},
EnableBinding},
org.springframework.messaging.handler.annotation.SendTo}public abstract String value
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.