camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-5067) Inflight registry - Change endpoint based to consumer based and avoid synchronized access
Date Thu, 08 Mar 2012 07:54:58 GMT
Inflight registry - Change endpoint based to consumer based and avoid synchronized access
-----------------------------------------------------------------------------------------

                 Key: CAMEL-5067
                 URL: https://issues.apache.org/jira/browse/CAMEL-5067
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.10.0


The CAMEL-5058 identified a leak when using producer template to send to many unique endpoints.
The reason is the UoW add/remove itself from the inflight registry.

What we need to do is to make the inflight registry add/remove seperated into two
- from UoW as of today, to track totals
- from route consumer to tracker per route based

Then we can avoid synchronized access to the endpoint counter as we do with the fix from CAMEL-5058.

The requires a little API change in InflightRegistry. Which we may or may not consider backporting
to 2.9.x

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message