I have a critical section in my process model that needs to be executed sequentially. i.e at any given time only one job needs to be executed over that critical section of the process model. Can I use globalLock and globalRelease to do this ?
book
Article ID: KB0088579
calendar_today
Updated On:
Products
Versions
TIBCO IntegrationManager
-
Not Applicable
-
Description
Resolution: No. You should not use globalLock and globalRelease for this purpose. Under heavy load you could get unexpected results. Because global lock causes other jobs to wait for the release of the lock, you should place the calls to get and release the lock in the same execute script task.
Issue/Introduction
I have a critical section in my process model that needs to be executed sequentially. i.e at any given time only one job needs to be executed over that critical section of the process model. Can I use globalLock and globalRelease to do this ?