2011/4/17 USHAKOV, Sergey <[email protected]>:
> Hi all,
>
> I've got a question on mailet container mode of operation. It can be
> configured to operate in multiple threads. Now what about matcher and mailet
> instances? Does every spool manager thread get its own set of
> matchers/mailets? Is it a good idea for matchers and mailets to assume that
> no instance of theirs will get its matches()/match() method invoked
> simultaineously in different threads?

No.
http://james.apache.org/mailet/api/apidocs/org/apache/mailet/Mailet.html#service(org.apache.mailet.Mail)
---
Mailets typically run inside multithreaded mailet containers that can
handle multiple requests concurrently. Developers must be aware to
synchronize access to any shared resources such as files and network
connections, as well as the mailet's fields
---

Stefano

> Thanks in advance,
> Sergey
>
>
> ---------------------------------------------------------------------
> 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