@Input

From NovaOrdis Knowledge Base
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();
}