Skip to content

GH-2752: RequestMapping: react only for our event #2757

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2019

Conversation

artembilan
Copy link
Member

Fixes #2752

The logic in the IntegrationRequestMappingHandlerMapping fully depends
on the application context it has been registered with, therefore any
arbitrary ContextRefreshedEvent doesn't fit our requirements.
More over it may cause a problem with missed mappings when parent-child
configuration is used.

Chery-pick to 5.1.x, 5.0.x & 4.3.x

Fixes spring-projects#2752

The logic in the `IntegrationRequestMappingHandlerMapping` fully depends
on the application context it has been registered with, therefore any
arbitrary `ContextRefreshedEvent` doesn't fit our requirements.
More over it may cause a problem with missed mappings when parent-child
configuration is used.

**Chery-pick to 5.1.x, 5.0.x & 4.3.x**
@garyrussell garyrussell merged commit baf1b97 into spring-projects:master Feb 19, 2019
@garyrussell
Copy link
Contributor

Cherry-picked to
5.1 40fd8d3
5.0 f33f057
4.3 44f438d

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Http inbound gateway not working when Feign config enabled.
2 participants