Mailet Plan
Introduction
Andy said:
Ideally, by ~January 1, I'd like to see a draft proposal of the
Mailet interfaces
Injection configuration
"core" apis (like Mail.java or whatever)
With a "startup" class similar to:
Mailet2Draft.java
public static void main(String args[]) {
String mailetconfig = args[0]; //a cheesy prop or xml file to config this
String mailstream = arg[1]; // a sample input stream to process
Mailet2Draft m2d = m2d.readConfig(mailetconfig);
BufferedInputStream bis = new BufferedInputStream(new FileInputStream(mailstream));
m2d.process(bis);
}
Which can be built simply (like by a build.xml or build.sh) w/o any JAMES stuff.
And a wiki page with a draft specification describing the contracts.
I am willing to contribute to the effort. Danny replied:
On 11/13/06, Andrew C. Oliver <acoliver@apache.org> wrote: I agree with your goal, > I am willing to contribute to the effort. Ta. Perhaps we should start a wiki page to outline a timeline and tasks...?
Tasks
Create Mailet v2 spec - ProposedMailetSpec - NOT COMPLETE
Create SVN sandbox - Some early stuff DannyAngus has done, not seperated out, andy is working on this
- Create build - NOT DONE
- Refine Mailet Interfaces - NOT DONE
- Create simple test (above) - NOT DONE