IMQService.stop() method

Stops consuming messages from the queue.

Signature:

stop(): Promise<void>;

Returns:

Promise<void>

Remarks

Connections, signal handlers and the metrics server are all left in place — use IMQService.destroy() for full teardown. Calling this first is not a prerequisite for destroy().

Only the reader connection is dropped; the writer stays up, which is what lets a drain publish the replies of requests that were already running when the shutdown signal arrived.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.