>From [EMAIL PROTECTED]
From: David Doucette <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
X-Sender: [EMAIL PROTECTED]
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
> > I'm new to James. I'm asking very simple questions, which is why I'm
> > directing them at "user" instead of "dev", despite some of them being of a
> > developmental nature.
>
> Good!
I'm glad I guessed right, although I was about to post to dev since I
hadn't heard anything in a while. *Grins*
Thanks for the replies!
> > James is said to be multi-threaded. Which tasks cause threads to be
> > spawned? Does each outgoing e-mail get its own thread? If so, what kinds
> > of limits are placed on the number of threads and is this configurable?
> >
> This varies quite a bit between 1.2.1 and current 1.2.2-dev
Is the only variation that the number of threads is configurable by the
admin? I assume in James 1.2.1, you have to hard code it before
compiling? In other words, that it supports multiple threads, but it
isn't admin configurable?
> Outgoing emails are handled by the RemoteDelivery mailet, which runs in
> the SpoolManger block. For 1.2.2-dev the number of threads is
> configurable by the admin. In the config.xml file, SpoolManager section,
> you can set the number of threads the SpoolManager can use. Default is
> one.
Does the SpoolManager handle multiple, simultaneous emails per thread?
I'm guessing not, since non-blocking I/O is new to Java 1.4.
> As a first approximation, each block has its own thread (James,
> MailStore, UsersStore, SMTPServer, POP3Server, SpoolManager, NNTPServer,
> IMAPServer) and each inbound connection has its own thread.
Does the spawner of these threads modify their priorities at all or just
leave them at the default?
Thanks again!
David
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]