@Input

From NovaOrdis Knowledge Base
Revision as of 18:55, 24 October 2018 by Ovidiu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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();
}