From 2561c1266ccf1f4c2a31fb405b4ccc46ea8ac701 Mon Sep 17 00:00:00 2001 From: postmannen Date: Tue, 8 Jun 2021 04:45:01 +0200 Subject: [PATCH] postfixed the reply part of the subject naming instead of having it prefixed --- process.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/process.go b/process.go index bcd3ff8..ce7ad9f 100644 --- a/process.go +++ b/process.go @@ -213,8 +213,8 @@ func (p process) messageDeliverNats(natsConn *nats.Conn, message Message) { Subject: string(p.subject.name()), // Subject: fmt.Sprintf("%s.%s.%s", proc.node, "command", "CLICommandRequest"), // Structure of the reply message are: - // reply... - Reply: fmt.Sprintf("reply.%s", p.subject.name()), + // ...reply + Reply: fmt.Sprintf("%s.reply", p.subject.name()), Data: dataPayload, }