You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Rick McGuire (JIRA)" <ji...@apache.org> on 2007/10/08 13:18:50 UTC

[jira] Closed: (GERONIMO-3506) Javamail Notification events are supposed to be handled by a dispatcher thread.

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

Rick McGuire closed GERONIMO-3506.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 2.1

Committed revision 582780.

> Javamail Notification events are supposed to be handled by a dispatcher thread.
> -------------------------------------------------------------------------------
>
>                 Key: GERONIMO-3506
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3506
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: mail
>            Reporter: Rick McGuire
>            Assignee: Rick McGuire
>             Fix For: 2.1
>
>
> The javamail Transport and Store classes define listener events that are supposed to be broadcast for different events.  These MailEvents are intended to be broadcast on a separate thread so that the event handlers need not worry about how long it takes to process one ot these events.  The current EventQueue implementation just iterates on the listener list, immediately calling the event listeners.  This can hang up the main mail process, and it can also cause unexpected errors as runtime errors will get propagated through the main thread dispatching the event. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.