mod_private
Module Description
This module implements XEP-0049: Private XML Storage. It allows users to store custom XML data in the server's database. Used e.g. for storing roster groups separator.
Options
modules.mod_private.iqdisc.type
- Syntax: string, one of
"one_queue"
,"no_queue"
,"queues"
,"parallel"
- Default:
"one_queue"
Strategy to handle incoming stanzas. For details, please refer to IQ processing policies.
modules.mod_private.backend
- Syntax: string, one of
"mnesia"
,"rdbms"
. - Default: "mnesia"
- Example:
backend = "mnesia"
Database backend to use.
Example Configuration
1 2 |
|
Metrics
If you'd like to learn more about metrics in MongooseIM, please visit MongooseIM metrics page.
Backend operation | Description (when it gets incremented) |
---|---|
multi_get_data |
XML data is fetched from a DB. |
multi_set_data |
XML data is stored in a DB. |