mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-15 17:51:15 +00:00
postfixed the reply part of the subject naming instead of having it prefixed
This commit is contained in:
parent
6bcb6e95c4
commit
2561c1266c
1 changed files with 2 additions and 2 deletions
|
@ -213,8 +213,8 @@ func (p process) messageDeliverNats(natsConn *nats.Conn, message Message) {
|
||||||
Subject: string(p.subject.name()),
|
Subject: string(p.subject.name()),
|
||||||
// Subject: fmt.Sprintf("%s.%s.%s", proc.node, "command", "CLICommandRequest"),
|
// Subject: fmt.Sprintf("%s.%s.%s", proc.node, "command", "CLICommandRequest"),
|
||||||
// Structure of the reply message are:
|
// Structure of the reply message are:
|
||||||
// reply.<nodename>.<message type>.<method>
|
// <nodename>.<message type>.<method>.reply
|
||||||
Reply: fmt.Sprintf("reply.%s", p.subject.name()),
|
Reply: fmt.Sprintf("%s.reply", p.subject.name()),
|
||||||
Data: dataPayload,
|
Data: dataPayload,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue