1 Reply Latest reply on Jul 9, 2009 3:47 AM by kapitanpetko

    how to create stateful quartz job

    stenlylee

      I use quartz to create a asynchronous job, but I found that the previous task haven't finish, the next task start.


      In quartz there is queue job, stateful job.
      In seam, how to do this?

        • 1. Re: how to create stateful quartz job
          kapitanpetko

          This is really a Quartz question. In short, you should implement StatefulJob in your jobs.
          That guarantees, that it cannot be executed concurrently.


          Seam's jobs (created via @Asynchronous) are stateless, so you have to get hold of the Quartz
          Scheduler and schedule them yourself (using the Quratz API)