Background: my goal is to pick up messages from external sources, not SMTP
senders, and drop them into the normal message processing loop. My class will
be a new thread looping on its data source.
I believe that the best way to do this is via the spool manager:
spool = (SpoolRepository) comp.getComponent(Constants.SPOOL_REPOSITORY);
...
JamesSpoolManager.process(MailImpl myNewMessage)
So my question: how can an external class get a handle to either the
SpoolRepository or the ComponentManager? (This may be an Avalon issue? Don't
think so.)
Thanks in advance.
- Lucas
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>