Skip to content

CAMEL-23282: fix unbounded BeanInfo cache growth for body OGNL expressions#22439

Open
Croway wants to merge 1 commit intoapache:camel-4.14.xfrom
Croway:ci-issue-CAMEL-23282-4.14.x
Open

CAMEL-23282: fix unbounded BeanInfo cache growth for body OGNL expressions#22439
Croway wants to merge 1 commit intoapache:camel-4.14.xfrom
Croway:ci-issue-CAMEL-23282-4.14.x

Conversation

@Croway
Copy link
Copy Markdown
Contributor

@Croway Croway commented Apr 3, 2026

Backport of #22437 to camel-4.14.x

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 and memory leaks for ephemeral message bodies used with OGNL expressions like ${body.name}

…sions

Always use class-based cache keys since introspection results depend on
the class type, not the instance identity. Instance-based keys caused
cache pollution and memory leaks for ephemeral message bodies.
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.

2 participants