Project

General

Profile

How to remove old archived message automatically?

Kelly Kuang
Added over 2 years ago

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?


Replies (2)

Added by Andrzej Wójcik IoT 1 CloudTigaseTeam over 2 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

Added by Kelly Kuang over 2 years ago

Thank you very much.

    (1-2/2)