I am looking at james.core.MimeMessageInputStreamSource and have a
question, perhaps for Serge since he is the author, but for anybody
else who might know.  This class copies an incoming message into a
temporary file.  I would like to know the motivation for this.

In my present level of blissful ignorance, I would have guessed that
Java might keep a message for us in a byte array, even a huge byte
array, that the JVM and OS would work out where to store it, on disk
if necessary, and we happy application developers would only need to
keep a pointer to the byte array.

But, since James has this class, there must be something I do not
understand.  I understand why it makes sense to write a message to a
file when it is being stored in a mailbox.  But can you explain what
makes it useful to store a message in a file at this stage of the
processing?

Thank you,
Rich



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



Reply via email to