We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 633132c commit fd4775cCopy full SHA for fd4775c
message/router.go
@@ -265,7 +265,7 @@ func (d DuplicateHandlerNameError) Error() string {
265
//
266
// publishTopic is a topic to which router will produce messages returned by handlerFunc.
267
// When handler needs to publish to multiple topics,
268
-// it is recommended to just inject Publisher to Handler or implement middleware
+// it is recommended to use AddNoPublisherHandler and inject a Publisher or implement middleware
269
// which will catch messages and publish to topic based on metadata for example.
270
271
// If handler is added while router is already running, you need to explicitly call RunHandlers().
0 commit comments