Hi!

1. Why MailRepository gets configured on startup?

It is configured with the values from config.xml and initialize is called. How can I determine that I shouldn't auto create Mailbox right now?
On demand it gets configured by James every time needed:

 DefaultConfiguration mboxConf
= new DefaultConfiguration("repository", "generated:AvalonFileRepository.compose()");
            mboxConf.setAttribute("destinationURL", destination);
            mboxConf.setAttribute("type", "MAIL");


2. What is the life cycle of a MailRepository?

I noticed that it was only initialized once it was first called. But maybe i interpreted the logs wrong. Does the server keep an MailRepository object for each user in memory until it stops?

3. How long are the message keys (names) valid?

Does it fulfill the contract completely to cache keys for the lifetime of the MailRepository object?

Joachim

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

Reply via email to