rafael.munoz ha scritto:
Hi
Sorry to bother you again (I guess you are now thinking to answer me with a
'oh, please, shut up' ;) ) but I just can't find it on the
AvalonMailRepository (the one I'm using) or in any of the other
MailRepository or SpoolRepository implementations. Can you point me out to
the exact code that implement the feature?
In fact, I don't exactly understand how the spool is going to know about the
waiting threads that are own and manage by the RemoteDelivery mailet.
AbstractMailRepository.store():165
---
if (!wasLocked) {
// If it wasn't locked, we need to unlock
unlock(key);
synchronized (this) {
notify();
}
}
-----
If you want to understand why it happens on the first attempt you'll
have to track all of the "lock()" and "wasLocked" use, but I don't
understand why you should care of all this low-level stuff for your
refactoring.
Stefano
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]