Closed ujwal-setlur closed 1 year ago
Hi @ujwal-setlur This is also related to the previous issue that you've opened re dynamic middleware. Please check this comment: https://github.com/moleculerjs/moleculer-channels/issues/60#issuecomment-1412498489
Ok thanks @AndreMaz
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Current Behavior
I have a middleware where I have both
localChannel
andsesndToChannel
hooks. ThelocalChannel
hook is firing, but thesendToChannel
hook is not.Expected Behavior
sendToChannelHook
should fire.Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Create middleware with
localChannel
andsendToChannel
hooks. The middleware is dynamically loaded after broker starts withbroker.middlewares.add()
Reproduce code snippet
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
Failure Logs
none