IMessageQueue.stop() method

Stops consuming, so no further message events fire.

Signature:

stop(): Promise<IMessageQueue>;

Returns:

Promise<IMessageQueue>

this queue instance

Remarks

Only the reader is torn down. The writer connection, the watcher lock and the watcher/maintenance timers all stay active, and IMessageQueue.send() and IMessageQueue.publish() keep working — call IMessageQueue.destroy() to release those. Safe to call when not started, and IMessageQueue.start() may be called again afterwards.

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