Prevent new instance of composite if one is already running
We have the following use case. A SOA composite gets messages from a JMS topic. We have Singleton set on the composite and also have a 10 second throttle(minimumDelayBetweenMessages).
Our issue is that we can't have two instances of that composite running at the same time, that is why we added the 10 second throttle. Often, the instance finishes in 1 second, so we lose 9 seconds because we have a 10 second throttle.
Is there a way to prevent new instances if one instance is already running?
SOA Version: 12.2.1.3.0