属性配置

jmms的配置文件在app/config.json文件中。

在config.json中定义的属性最终会转换成key=value的形式:

{
    "redis:" {
        "host" : "127.0.0.1",
        "port" : 1024
    }
}

转换为:

redis.host = 127.0.0.1
redis.port = 1024
Bingosoft            updated 2018-07-23
下一篇:环境切换

results matching ""

    No results matching ""