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