Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.0.0-M1
-
Component/s: Core: Lifecycle
-
Labels:None
-
User impact:Medium
-
Similar Issues:None
Description
A duplicate registration is when the exact same instance is registered twice:
MyListener listener = new MyListener();
muleContext.registerListener(listener);
muleContext.registerListener(listener);
This should result in listener being invoked once and not twice as it is currently, for the notification it is listening to.
Dan, could you please provide more context when filing issues? What is considered a duplicate registration? How do you define uniqueness?