IMQServiceOptions interface
Options accepted by an IMQ service.
Signature:
export interface IMQServiceOptions extends IMQOptions
Extends: IMQOptions
Remarks
Extends the core queue options, so all transport settings — host, port, prefix, safeDelivery, useGzip, cluster, logger and the rest — are accepted and forwarded to the queue factory.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
(Optional) Post-response hook. See IMQAfterCall. | |||
|
(Optional) Pre-dispatch hook. See IMQBeforeCall. | |||
|
number |
Workers to fork per CPU core. Ignored unless IMQServiceOptions.multiProcess is true. | ||
|
(Optional) Built-in metrics HTTP listener settings. | |||
|
boolean |
Fork one cluster worker per CPU core, multiplied by IMQServiceOptions.childrenPerCore. | ||
|
(Optional) Around hook wrapping the method invocation. See IMQWrapCall. |
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.