发往一个组件的消息传递给其他组件

Message addressed to one component delivers to other

以下是我的ejabberd yml配置

-
port: 8888
ip: "::"
module: ejabberd_service
access: all
shaper_rule: fast
ip: "127.0.0.1"
privilege_access:
roster: "both"
message: "outgoing"
presence: "roster"
delegations:
"urn:xmpp:mam:1":
filtering: ["node"]
"http://jabber.org/protocol/pubsub":
filtering: []
hosts:
"mycomponent.p-pc":
password: "secret"
"sender.p-pc":
password: "secret"

发往 mycomponent.p-pc 的邮件被传送到 sender.p-pc

hosts 变量是单个组件的 别名 的列表,而不是不同的组件名称