Incorrect 'channel' attribute in an endpoint method annotation
Reports incorrect channel attributes in endpoint method annotations: @Gateway, @ServiceActivator, @Filter, and so on.
Example:
@Component
public class MyComponent {}
@Gateway(requestChannel = "requestChannel", replyChannel = "replyChannel")
public void gateway() {...}
@Gateway(
requestChannel ="simpleBean", // Bean must be one of these types: org.springframework.integration.MessageChannel,org.springframework.messaging.MessageChannel
replyChannel = "unknownChannel") // Cannot find channel
public void errors() {...}
@Bean
public MyBean simpleBean() {...}
}
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Spring Integration Patterns, 233.SNAPSHOT |
Last modified: 13 July 2023