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.
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.#.cfails to validate.The code is also a bit messy and needs restructuring for better readability and maintainability.