[jboss-user] [EJB3] - Re: Avoiding concurrent invocations of an automatically scheduled bean

Noa Drach do-not-reply at jboss.com
Sun Jan 29 05:05:47 EST 2012

Noa Drach [https://community.jboss.org/people/newway] created the discussion

"Re: Avoiding concurrent invocations of an automatically scheduled bean"

To view the discussion, visit: https://community.jboss.org/message/649292#649292

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120129/d5dff1fa/attachment.html 

More information about the jboss-user mailing list