Project: mule
Issue MULE-7027: ExpiringGroupMonitoringThread must process event groups only when the node is primary
ExpiringGroupMonitoringThread is used on the EventCorrelator to detect EventGroup that expired and must be deleted. This thread is always started as part of the EventCorrelator and that means that in a cluster environment, every node will have a thread running. This causes problems when different nodes try to process the same event group simultaneously.
Story points: 5