james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Angus" <da...@thought.co.uk>
Subject RE: Mailets
Date Wed, 26 Sep 2001 14:34:29 GMT
Is there a noticable performance hit from using regex in the mailets?
I know we avoided regex in a high demand situation some wee while ago
because of the overhead, if this is the case here can I suggest we use the
non-regex versions by default and specify FQN's for the regex version?

Or have I missed the point completely..!

d.

-----Original Message-----
From: Serge Knystautas [mailto:sergek@lokitech.com]
Sent: 26 September 2001 12:16
To: james-dev@jakarta.apache.org
Subject: Re: Mailets


----- Original Message -----
From: "Oki DZ" <okidz@pindad.com>


> On Tue, 25 Sep 2001, Serge Knystautas wrote:
> > Actually, I think I have a better idea than renaming all the classes...
why
> > not put them into the org.apache.james.transport.matchers.regex package?
We
> > can move the non-regex ones to a "text" or something... then we can
leave
> > the import as text by default, and if the admin wants to use regex,
he/she
> > can change the import.  Comments?
>
> This would be better.
> Problem is, what if the admin wants to use both kinds? Would it be
> possible to have FQNs in the match or class attribute of a mailet config?

Yes, FQN's are allowed (if not, this is a bug I'll fix).

Serge Knystautas
Loki Technologies
http://www.lokitech.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Mime
View raw message