I'm new to Nuxeo and I'm trying to create an operation that manages a list of work to be executed? But only one instance can access the list at any time. From what I understand, each invocation of an operation results in a new instance. I could create a class critical regions (sychonized methods and blocks) but would that be violating the semantics around Operations? That solution only works in the same JVM.
Can an EventListener be configured such that onlyu one instance handles all Events of a particular Event Identifier? Can using the WorkManager help me solve this problem?
Thanks, I scoured the Nuxeo documentaiton and Answers Forum and could not find exactly what I am looking for.