How to remove old archived message automatically?

Kelly Kuang
Added almost 3 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 almost 3 years ago

VHostItem is kept by VHostManager and you can configure VHostItem for particular domain by adhoc commands available at VHostManager. see

Added by Kelly Kuang almost 3 years ago

Thank you very much.