That is what the API has defined to support the various possible 
repositories.  For example, if the spool is the database, JDBC requires 
you to know the size of the byte[]/inputstream you are storing.  So you 
can't "read the message & put it in the spool".
-- 
Serge Knystautas
Loki Technologies - Unstoppable Websites
http://www.lokitech.com/

Shilpa Dalmia wrote:
> Serge,
> Why does it need a renewable stream? Once it has read the message & put it
> in the spool, it should not need to use it any more, right? And in the code
> I don't see it being used more than once, unless I'm overseeing something.
> 
> Shilpa
> 
> -----Original Message-----
> From: Serge Knystautas [mailto:[EMAIL PROTECTED]]
> Sent: Friday, May 10, 2002 11:08 AM
> To: James Developers List
> Subject: Re: All incoming mails written to temp file before spooling
> 
> 
> The problem is that MimeMessageSource requires a renewable input stream, 
> so you'll need to have some way to accomplish that.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to