Sorry, I'm not satiesfied yet. As far as I understand the schema, a matcher "fires", if it's condition is satisfied. Due to that firing, the according mailet is invoked. This is a boolean topic: fire or not. No collection is needed.
But, if the collection of matching recipients would be passed into the mailet, that could make sense. Maybe I want to process a specific mail in my mailet only for the matching recipients. What is happening now, seems to be: 1. the matcher returns a collection of matching recipients 2. the framework decides to invoke the mailet, cause the collection is not null or not empty 3. the framework throws the collection in garbage 4. the mailet is invoked without the collection Again: What sense does it make to create a collection for the garbage collector, if a boolean would fit. Where is my mistake? Frank --- Serge Knystautas <[EMAIL PROTECTED]> schrieb: > > > A mailet can get that List from > Mail.getRecipients(). It cannot get > what was passed to the matcher. > > A matcher returns a List instead of a boolean > because you could have > partial matching, for instance if a message comes in > for > [EMAIL PROTECTED] and [EMAIL PROTECTED], I > would want my > matcher to only fire on [EMAIL PROTECTED] > > > I think, I've understood something wrong, cause > nobody > > would create a "matching-recipients"-list, if it's > of > > no use. > > Can you expand on what this means? > > -- > Serge Knystautas > President > Lokitech >>> software . strategy . design >> > http://www.lokitech.com > p. 301.656.5501 > e. [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __________________________________________________________________ Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingelt�ne f�rs Handy bei http://sms.yahoo.de --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
