[ 
https://issues.apache.org/jira/browse/IMAP-230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12933355#action_12933355
 ] 

Norman Maurer commented on IMAP-230:
------------------------------------

Yeah thats was the original idea of it. But I think it just make more sense to 
return a new InputStream instance on every Message.getBodyContent() and 
Message.getFullContent() (the same as we do with MimeMessageSource) and let the 
implementation dedicide howto do this.

For example on Maildir you can just return a new FileInputStream everytime,  on 
JCR you can return a new InputStream from the node all the time  etc...


> Remove usage of RewindableInputStream
> -------------------------------------
>
>                 Key: IMAP-230
>                 URL: https://issues.apache.org/jira/browse/IMAP-230
>             Project: JAMES Imap
>          Issue Type: Task
>    Affects Versions: 0.1, 0.2-M1
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 0.2
>
>
> When accessing the Message content we use a custom InputStream called 
> RewindableInputStream. I don't know why I thought this makes much sense in 
> the past... We should just use a normal InputStream 

-- 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to