james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Norman Maurer (JIRA)" <server-...@james.apache.org>
Subject [jira] Resolved: (IMAP-128) Change Document interface to expose contents as InputStream
Date Wed, 07 Apr 2010 19:18:36 GMT

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

Norman Maurer resolved IMAP-128.

    Resolution: Fixed

In trunk now..

> Change Document interface to expose contents as InputStream
> -----------------------------------------------------------
>                 Key: IMAP-128
>                 URL: https://issues.apache.org/jira/browse/IMAP-128
>             Project: JAMES Imap
>          Issue Type: Improvement
>          Components: Mailbox
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.1
> At the moment the Content of a Document implementation (which is for example the Message)
is exposed via a ByteBuffer. Unforunally to offer the ByteBuffer the whole Content is read
to the Memory first. This is super inefficient when having big data. It would be preferable
to be able to directly stream the content.

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

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

View raw message