diff --git a/components/org.wso2.carbon.identity.account.suspension.notification.task/src/main/java/org/wso2/carbon/identity/account/suspension/notification/task/internal/NotificationTaskServiceComponent.java b/components/org.wso2.carbon.identity.account.suspension.notification.task/src/main/java/org/wso2/carbon/identity/account/suspension/notification/task/internal/NotificationTaskServiceComponent.java index cb2f91ccd..c619acc38 100644 --- a/components/org.wso2.carbon.identity.account.suspension.notification.task/src/main/java/org/wso2/carbon/identity/account/suspension/notification/task/internal/NotificationTaskServiceComponent.java +++ b/components/org.wso2.carbon.identity.account.suspension.notification.task/src/main/java/org/wso2/carbon/identity/account/suspension/notification/task/internal/NotificationTaskServiceComponent.java @@ -164,6 +164,7 @@ protected void unsetRealmService(RealmService realmService) { policy = ReferencePolicy.DYNAMIC, unbind = "unsetClusteringAgent") protected void setClusteringAgent(ConfigurationContextService configurationContextService) { + NotificationTaskDataHolder.getInstance().setClusteringAgent( configurationContextService.getServerConfigContext().getAxisConfiguration().getClusteringAgent()); }