You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <ji...@apache.org> on 2011/09/16 19:30:09 UTC

[jira] [Created] (MAILBOX-134) MailboxListener may not removed even if MailboxListener.isClosed() is true

MailboxListener may not removed even if MailboxListener.isClosed() is true
--------------------------------------------------------------------------

                 Key: MAILBOX-134
                 URL: https://issues.apache.org/jira/browse/MAILBOX-134
             Project: James Mailbox
          Issue Type: Bug
          Components: api, store
    Affects Versions: 0.3
            Reporter: Norman Maurer
            Assignee: Norman Maurer
             Fix For: 0.4


At the moment we check on every new even for a specific mailbox if an listener was closed before and if so we remove it. This is error-phrone and also may lead to "leaking" MailboxListeners as if no new event for a Mailbox will submitted it will there forever.

We should better directly remove the MailboxListener and not relay on a lazy removal. This also should be a way faster as we don't need to check all MailboxListeners for a Mailbox on every event

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] [Resolved] (MAILBOX-134) MailboxListener may not removed even if MailboxListener.isClosed() is true

Posted by "Norman Maurer (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAILBOX-134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved MAILBOX-134.
-----------------------------------

    Resolution: Fixed

> MailboxListener may not removed even if MailboxListener.isClosed() is true
> --------------------------------------------------------------------------
>
>                 Key: MAILBOX-134
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-134
>             Project: James Mailbox
>          Issue Type: Bug
>          Components: api, store
>    Affects Versions: 0.3
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.4
>
>
> At the moment we check on every new even for a specific mailbox if an listener was closed before and if so we remove it. This is error-phrone and also may lead to "leaking" MailboxListeners as if no new event for a Mailbox will submitted it will there forever.
> We should better directly remove the MailboxListener and not relay on a lazy removal. This also should be a way faster as we don't need to check all MailboxListeners for a Mailbox on every event

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org