Skip to content
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

GH-8611: Extract MessagingAnnotationBeanPostProcessor #8661

Merged
merged 1 commit into from Jun 28, 2023

Conversation

artembilan
Copy link
Member

Fixes #8611

According to the latest Spring Framework requirements related to AOT the BeanDefinitionRegistryPostProcessor must not do anything but only bean registrations

  • Extract a MessagingAnnotationBeanPostProcessor component with a BeanPostProcessor logic from the MessagingAnnotationPostProcessor and leave the last one as just a BeanDefinitionRegistryPostProcessor impl
  • Fix tests according to a new logic

Fixes spring-projects#8611

According to the latest Spring Framework requirements related to AOT the
`BeanDefinitionRegistryPostProcessor` must not do anything but only bean registrations

* Extract a `MessagingAnnotationBeanPostProcessor` component with a `BeanPostProcessor` logic
from the `MessagingAnnotationPostProcessor` and leave the last one as just
a `BeanDefinitionRegistryPostProcessor` impl
* Fix tests according to a new logic
@garyrussell garyrussell merged commit 4583afe into spring-projects:main Jun 28, 2023
2 checks passed
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.

Decouple BeanDefinitionRegistryPostProcessor implementations
2 participants