Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.2.0
-
None
-
Unknown
Description
The CamelBeanPostProcessor does not implement the Ordered interface provided by Spring.
According to Spring documentation it is recommended to do so:
If you write your own BeanPostProcessor, you should consider implementing the Ordered interface, too
And not doing so may break certain things (see e.g. https://github.com/spring-projects/spring-framework/issues/24058) but Spring guys won't fix that to keep backwards-compatibility. So I would suggest to let the CamelBeanPostProcessor implement the Ordered interface, e.g. with lowest priority or with configurable priority. The actual value is irrelevant, the issue described in https://github.com/spring-projects/spring-framework/issues/24058 only occurs if a post processor exists that does not implement the ordered interface.
Attachments
Issue Links
- links to