davsclaus opened a new pull request, #25068:
URL: https://github.com/apache/camel/pull/25068

   ## Backport of #25036
   
   Cherry-pick of #25036 onto `camel-4.14.x`.
   
   **Original PR:** #25036 - CAMEL-24248 Concurrent pollEnrich can fail to stop 
in-use consumers after cache eviction
   **Original author:** @msnijder30
   **Target branch:** `camel-4.14.x`
   
   ### Original description
   
   When pollEnrich processes concurrent exchanges using different dynamic 
endpoint URIs and its consumer cache is smaller than the concurrency level, a 
polling consumer's pool can be evicted while the consumer is still in use. When 
that exchange finishes, the consumer is released after its pool has already 
been removed, so the consumer is not stopped and its resources remain allocated.
   
   Repeated requests cause these unclosed consumers to accumulate, resulting in 
steadily increasing memory usage and potentially leaking component-specific 
resources such as connections, clients, threads, or buffers.
   
   _Claude Code on behalf of davsclaus_


-- 
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]

Reply via email to