Lazy load and populate the MimeDescriptor
-----------------------------------------

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


At the moment we pre-load the MimeDescriptor when create the MessageResult even 
if we maybe don't access it later. Loading the MimeDescriptor can be really 
heavy-weight and also very slow depending on the underlying mailbox 
implementation (it may need to parse the whole message for it). We also should 
make sure to re-used previous parsed header instances as at the moment we 
re-parse the raw header when generating the MimeDescriptor

--
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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to