Croway opened a new pull request, #22437:
URL: https://github.com/apache/camel/pull/22437
## Summary
- Always use class-based BeanInfo cache keys instead of instance-based keys
- Introspection results depend on the class type, not the instance identity
- Instance-based keys caused cache pollution (1000 duplicate entries for 1
class) and memory leaks for ephemeral message bodies used with OGNL expressions
like `${body.name}`
## Test plan
- [x] New `BeanInfoCacheBodyOgnlTest` validates cache stays at 1 entry
across multiple messages with body class that has Exchange parameter methods
- [x] Existing `BeanInfoCacheExchangeTest` passes
- [x] All 346 bean tests pass
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]