I have a service that consumes messages from a queue and depending on type in the message I want to init a service.
For example for a message { "type": "A" } I want to use ServiceA, for a message { "type": "B" } I want to use ServiceB.
Both ServiceA and ServiceB extends abstract BaseService.
How can I inject NestJS Injectable into ServiceA?