karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ioannis Canellos (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KARAF-843) Cellar's event transport factory should not cache producers and consumers
Date Thu, 01 Sep 2011 14:25:10 GMT

     [ https://issues.apache.org/jira/browse/KARAF-843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ioannis Canellos resolved KARAF-843.
------------------------------------

    Resolution: Fixed

Committed to trunk and merged into 2.2.x branch.

> Cellar's event transport factory should not cache producers and consumers
> -------------------------------------------------------------------------
>
>                 Key: KARAF-843
>                 URL: https://issues.apache.org/jira/browse/KARAF-843
>             Project: Karaf
>          Issue Type: Improvement
>          Components: cellar-core, cellar-hazelcast
>            Reporter: Ioannis Canellos
>            Assignee: Ioannis Canellos
>             Fix For: cellar-3.0.0, cellar-2.2.3
>
>
> The event transport factory "caches" the created producers and consumers. This is keeps
them in memory forever, since there is no implemented functionality to remove them or destroy
them.
> I think that each unit that needs producers/consumers (currently the GroupManager and
Import/Export ServiceListeners) should "release" the producers/consumers and also stop the
consumers when no longer needed. It also may be better to "cache" them locally than "cache"
them inside the factory.
> Note:This affects the current trunk and is not related to any released version.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message