If there are two instance of same clustered component created on single node under diffrent names then they will overwrite each other CommandListener instances registred in ClusterController instance.
We need to provide a wrapper which will be passed to ClusterredComponentInterface instead of original ClusterController which will be resposible for prefixing each CommandListener registered by particular clustered component with name of this component. This wrapper will be also responsible for prefixing command names passed to methods sendToNodes.
Andrzej Wójcik (Tigase) commented 1 decade ago
Applied in changeset tigase-server|commit:4e0d7693023e99751be91a41f958c389b2231a3b.
If there are two instance of same clustered component created on single node under diffrent names then they will overwrite each other CommandListener instances registred in ClusterController instance.
We need to provide a wrapper which will be passed to ClusterredComponentInterface instead of original ClusterController which will be resposible for prefixing each CommandListener registered by particular clustered component with name of this component. This wrapper will be also responsible for prefixing command names passed to methods sendToNodes.