Creates a new router instance.
Activates the router.
Once activated, processors can be retrieved but not added.
Adds a processor for a specific queue and job.
Processors can only be added before the router is activated.
The processor spec object.
The processor action function.
This router for method chaining.
Retrieves a processor for a specific queue and job.
Processors can only be retrieved after the router is activated.
The name of the queue.
The name of the job.
The processor function, or undefined if not found.
StaticregisterRegisters the router as a singleton in the DI container.
The DI container to register in.
StaticresolveResolves the router from the DI container.
The DI container to resolve from.
The router instance.
Represents the consumer router.
Depends:
Example