JBoss Community

Re: Avoiding concurrent invocations of an automatically scheduled bean

created by Noa Drach in EJB3 - View the full discussion

I am just considering my options when migrating for jboss 4.2.3 that had quartz embedded and I used the resources adapter to have an MDB that uses quartz.

 

but now in jboss 7.1 quartz is not distributed and I was wondering if there is a replacement to it's capabilities.

 

basically my scenario is as follows -

I use an MDB registered to quartz to do some pulling on data

the data is analyzed

and than the whole cycle starts again.

 

the thing is i don't want the cycle to start again if the processing of the current data takes longer than the diff between the invocations.

 

i know i can always set the time longer, but it doesn't grantee that there won't be overlapping

Reply to this message by going to Community

Start a new discussion in EJB3 at Community