Hi Stefano, thanks for responding.

Could you kindly explain what a lock is with respect to mail (if anything special), and if a matcher/mailet can lock a mail otherwise than by trivial looping?

Thanks and best regards,
Sergey


----- Original Message ----- From: "Stefano Bagnara" <[email protected]>
To: "James Users List" <[email protected]>
Sent: Sunday, May 08, 2011 2:34 PM
Subject: Re: Fw: M3-SNAPSHOT: mail queue management and debugging


2011/5/8 USHAKOV, Sergey <[email protected]>:
Hi Norman,

I have more news. I have disabled _all_ my new matchers, including those
that worked smoothly for a month already, and this released the two mails
that stuck.

First thing: check your mailets are thread safe (E.g: don't use mailet
fields to store state or make sure to access them in a thread safe
way).

By the moment my JAMES is running smoothly again, with all my old matchers
intact, and the new matcher fixed and arranged for better debugging.

Well, I can admit that it were my matchers who blocked these two mails
somehow (can't imagine how yet), but I wonder why did the other mails
manage to get through only after a flush and restart?

Maybe your mailets had a lock on that mails.

Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to