In order to use ACS for MUC, main Advance Clustering Strategy is required. Once it’s enabled, clustered version of MUC component will be selected by default during startup therefore it’s not required to configure it explicitly (make sure no class is configured).
muc () {}
It’s also possible to explicitly configure the class with the following configuration:
muc (class: tigase.muc.cluster.MUCComponentClustered) {}
With the above configuration default MUC clustering strategy will be used. In order to select different strategy you have
to configure it’s class in strategy
bean within muc
component bean:
muc () { strategy (class: tigase.muc.cluster.ShardingStrategy) {} }