The mail listener chain should be factored out. Presently the mail listeners are their own MBeans but the chain (or ordering/association) is associated very strongly with the properties of the protocol. There ought to be a MailListenerChainMBean (which I kind of lean towards the idea of being itself a MailListener) that does the mail listener calls.
It might be that the process of getting and constructing a mail from an input stream might also be best factored out somewhere somehow. Eventually we'll need to think about what local "user" fetchmail acts as but for the moment it ought to just construct mail objects and send them to the mail listener chain. (its up to them as to "what" happens from there) Fetchmail is by definition "local" and never remote or maillist. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870866#3870866 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870866 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
