Hi Nicolas,

Nicolas Belisle wrote:
Hi Marcel,

If all three tryLock() fail, the event is certainly active. The event is then waiting for an ACTIVE lock to be released (the last tryLock() confirms that fact). The event is not cancelled/removed until the lock is obtained. Then doInTransaction() is called.

The only way I see to stop the transaction from executing is to stop the server...

Am I missing something ?

you are right. the listener will still be active when a tryLock() in onEvent() fails. and will then be called again on the next unlock event.

sorry about the confusion I may have caused...

regards
 marcel

Reply via email to