Stefano Mazzocchi wrote:
> >   public void service(Mail mail);
> >
> > Comments?
> 
> I'm against boolean-returning fuctions as a general pattern.

Well, since I think we've made matching pretty flexible, maybe we should
put the determination of whether a message stops after a given mailet
back in the conf file.  Again, I don't like returning a Mail object, and
if we don't return boolean... maybe we do a flag in Mail to stop
processing.

Looks like we're almost there... I need to put together a first whack at
the MailetContext which would then give you access to the
MailDispatcher.  I'll probably just put in skeleton code as until we
have the DTD structure for the conf file, I can't really grab a
MailDispatcher object based on the mailet's name.  Can't do this today,
but probably tomorrow night.

I'll leave you two to figure out what's the best exact XML
representation for the matching/mailet config as you two have much more
experience in this area.  Seems like the general conf plan is just about
ready to roll.

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


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/>
Problems?:           [EMAIL PROTECTED]

Reply via email to