I've got a job I need OpenNMS to run on a regular basis -- say, once every ten minutes or so. It will collect mail from an inbox via pop3, and dump the entire headers (plus any decoded text/plain MIME body parts) into a queue for an administrator to come along and process later on. When it does this, I'd like it to fire off an event (a very, very low priority event, but still escalatable) to let the Administrators know that there's mail waiting to be processed.
So, my questions are, given a class + methods that perform the grabbing of mail and queuing and so on, how do I (can I) schedule the job to be run at a given interval, and how do I create my own type of event and fire it off when new mail comes in? Adrian ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel