You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Ioannis Canellos (JIRA)" <ji...@apache.org> on 2011/09/01 15:31:10 UTC

[jira] [Created] (KARAF-843) Cellar's event transport factory should not cache producers and consumers

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

        

[jira] [Resolved] (KARAF-843) Cellar's event transport factory should not cache producers and consumers

Posted by "Ioannis Canellos (JIRA)" <ji...@apache.org>.
     [ 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