How to remove old archived message automatically?
I want to remove old archived message automatically.
I found same config key(remove-expired-messages and remove-expired-messages-period) in MessageArchiveComponent class.
In the RemoveExpiredTask, it need VHostItem. I do not know to config it.
I have tried to search in the website. But I did not find the answer.
Could you please tell me how to config it?
Added by Andrzej Wójcik almost 3 years ago
VHostItem is kept by VHostManager and you can configure VHostItem for particular domain by adhoc commands available at VHostManager. see http://docs.tigase.org/tigase-server/snapshot/Administration_Guide/html_chunk/tigase41virtualHosts.html