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)" <se...@james.apache.org> on 2010/04/07 12:57:33 UTC

[jira] Created: (IMAP-128) Change Document interface to expose contents as InputStream

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


[jira] Resolved: (IMAP-128) Change Document interface to expose contents as InputStream

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ 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