geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick McGuire (JIRA)" <j...@apache.org>
Subject [jira] Created: (GERONIMO-3506) Javamail Notification events are supposed to be handled by a dispatcher thread.
Date Fri, 05 Oct 2007 15:17:51 GMT
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


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.


Mime
View raw message