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