Mikael Andersson Wigander created CAMEL-17181:
-------------------------------------------------
Summary: XPathBuilder never clears pool
Key: CAMEL-17181
URL: https://issues.apache.org/jira/browse/CAMEL-17181
Project: Camel
Issue Type: Bug
Affects Versions: 3.12.0, 3.11.3
Reporter: Mikael Andersson Wigander
When using *@XPath()* annotations to bean method parameters, *XPathBuilder* is
used and expressions are added to a pool in the *init()* method of the class.
These expressions are keep adding up but they are never cleared.
There's a method *doStop()* which has the code for cleaning but it is never
used, hence a leakage of XPathExpressions.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)