Files
spring-integration/spring-integration-http
Artem Bilan 1f45e00cc3 INT-3243: Postpone MVC Handlers Detection
JIRA: https://jira.springsource.org/browse/INT-3243

* Change `IntegrationRequestMappingHandlerMapping` to postpone
Handlers detection as late as possible using `ApplicationListener<ContextRefreshedEvent>`.
This is needed, because `RequestMappingInfoHandlerMapping#afterPropertiesSet()`
iterates over beans from the `BeanFactory` to detect MVC Handlers. But at the same time
Integration Endpoints require a `requestChannel` as a dependency and those may be postponed
for `auto-creation` by `ChannelInitializer` - late-binding issue.
2014-01-27 13:44:01 -05:00
..