@Input: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
=Overview= | =Overview= | ||
The @Input annotation | The @Input annotation designates a factory method for an [[Spring_Cloud_Stream#Input_Channel|input channel]], through which received messages enter the application. The annotation is configured with the [[Spring_Cloud_Stream#Channel_Name|channel name]]. | ||
<syntaxhighlight lang='java'> | <syntaxhighlight lang='java'> |
Latest revision as of 18:55, 24 October 2018
Internal
Overview
The @Input annotation designates a factory method for an input channel, through which received messages enter the application. The annotation is configured with the channel name.
public interface Sink {
String INPUT = "input";
@Input(Sink.INPUT)
SubscribableChannel input();
}