Unresolved message channel
Reports unresolved channel attributes in @StreamListener
, @SendTo
, @Output
, and @Input
annotations.
Using invalid binding name results in 'bean not found' error at runtime.
Example:
@EnableBinding(Sink.class)
public class LogSource {
@StreamListener(Sink.class)
public void log1() {
}
@StreamListener("invalid") // Reports 'Cannot find channel'
public void log2() {
}
}
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Spring Cloud, 233.SNAPSHOT |
Last modified: 13 July 2023