- Table of contents
Below is example configuration required by component:
--comp-name-3=message-archive --comp-class-3=tigase.archive.MessageArchiveComponent message-archive/archive-repo-uri=jdbc:mysql://localhost/messagearchivedb?user=test&password=test --sm-plugins=message-archive-xep-0136 sess-man/plugins-conf/message-archive-xep-0136/component-jid=message-archive@local-machine-name
In this example configuration is passed connection string to database (if connection string is empty default user repository will be used as database to store archived messages) and JID of message archive component.
component-jid option is omitted message-archive@local-machine-name will be used as
Current version supporting Tagging utilize relatively high number of PreparedStatements which may yield high memory usage. In such case one of the possible solutions is to decrease repository connection pool with, e.g.:
We added following additional features, which are available since 1.0.1 release.
Since 1.1.0 release it is also possible to set this additional configuration options on per domain basis using VHost adhoc configuration command.
Setting default value of archiving level for messages on a server¶
Settting this property will change default archiving level for messages for every account on server for which per account default archiving level is not set. User will be able to change this value setting default modes as described in XEP-0136 section 2.4
Example in which we set default server message archiving level to
Setting required value of archiving level for messages on a server¶
Settting this property will change required archiving level for messages for every account on server. User will be able to change this to any lower value by setting default modes as described in XEP-0136 section 2.4, but user will be allowed to set higher archiving level. If this property is set to higher value then default archiving level is set then this setting will be used as default archiving level setting.
Example in which we set required server message archiving level to