Hello List,

I am trying to implement some functionality this time using the DeltaSpike
Scheduler. Normally, it is quite straightforward, but this time, I am
facing trouble.


I have to run some jobs periodically related to polling tables in a
database. To implement this, I use the Scheduler module. After reading its
documentation, I find easy to schedule jobs that are fully defined at
compile time. But for some cases I like to poll some other tables and make
the polling intervals specific to the table. Therefore, I like to get a job
instance with its dependencies injected via CDI, then prepare a Trigger or
something similar, prepare some parameters, and schedule this job. Do
similarly for the other tables by getting a new instance of the same class.
I think this is possible to achieve and I would like to request if this
case could be treated in the documentation as well. Also any feedback on
how to do this, it is welcome.


Thanks,
-- 
Pablo Pita Leira

Reply via email to