How can I port this to Kotlin? This is Spring Clou...
# getting-started
w
How can I port this to Kotlin? This is Spring Cloud Stream channels interface. Channel's name is used in more than one place (but always in annotation), that's why it has been moved to static field. Thanks.
Copy code
public interface Channels {
    String IN_MSG = "in-msg";

    @Input(IN_MSG)
    MessageChannel inMsg();
}