9 Replies Latest reply on Oct 9, 2004 4:46 PM by Danny Thornton

    JBMail And Auto Execute of Executable Service Method

    Danny Thornton Novice


      I would like to have the container execute an execute method in the jbmail MBean every x minutes. How do you configure an MBean so an executable method is executed after a certain time interval? I tried adding a thread to jbmail to do this but I had an error connecting to mail from inside the thread.
      The purpose of this is so that jbmail will fetch and process mail every x minutes.