Defines a listener for NATS messages.
Description
The INatsMessageListener interface defines a listener for NATS messages.
Methods
OnMessage
Defines the actions to be done after a message is received
OnMessage(message *nats.Msg)
- message: *nats.Msg - message