Mongoose im 发送消息mongoose im未成功

Mongoose im 发送消息mongoose im未成功,mongoose-im,Mongoose Im,我想发送一条消息并调用api curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{"caller":"maituanmte%40localhost","to":"admin%40localhost","body": "Hi all"}' 'http://localhost:8088/api/messages' 状态=204,主体响应无内容。但当我收到消息时

我想发送一条消息并调用api

curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' -d '{"caller":"maituanmte%40localhost","to":"admin%40localhost","body": "Hi all"}' 'http://localhost:8088/api/messages'
状态=204,主体响应无内容。但当我收到消息时

curl -X GET --header 'Accept: application/json' 'http://localhost:8088/api/messages/admin%40localhost'
然后status=200,body=[](无消息)。我有exchange admin和maituanmte,但结果相同


请帮帮我。感谢

仅当启用了
mod_mam
时,才会从服务器返回消息。能否确认已启用并配置此模块? 我建议使用master branch[1]中的MongooseIM,因为MAM配置最近大大简化了[2],[3]

[1]

[2]


[3]

仅当启用了
mod_mam
时,才会从服务器返回消息。能否确认已启用并配置此模块? 我建议使用master branch[1]中的MongooseIM,因为MAM配置最近大大简化了[2],[3]

[1]

[2]


[3]

谢谢你,米查夫斯基。那是赖特。默认情况下,mod_man未启用。谢谢你,michalwski。那是赖特。默认情况下,mod_man未启用。