gorabbit
gorabbit copied to clipboard
Consumer's `Validate` method needs a revamp
Registering consumer's handler with wildcard keys does not cover all possibilities and sometimes does not work.
Having '#' in the middle of a routing key does not work, for example a.b.#.c fails to validate.
The code is also a bit messy and needs restructuring for better readability and maintainability.