
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@mqueue/stompjs
Advanced tools
An STOMP.js adapter for MQueue, adding support for STOMP queues with a multi-backend setup with MQueue.
npm install --save @mqueue/queue @mqueue/stompjs
# or use pnpm/yarn
import MQueue from "@mqueue/queue"; // or require("@mqueue/queue");
import { StompQueue } from "@mqueue/stompjs"; // or require("@mqueue/stompjs");
const outgoingQueue = new MQueue.Outgoing(
await StompQueue.Outgoing.connect("amqp://rabbitmq:5271", "queue-name"),
);
outgoingQueue.sendMessage({
headers: {
"Account-ID": "123",
},
body: "...",
});
// ...
const incomingQueue = new MQueue.Incoming(
await StompQueue.Incoming.connect("amqp://rabbitmq:5271", "queue-name"),
);
// Start listening to the queue
await incomingQueue.consume(async (payload) => {
const topicOrQueueName = payload.transport.name;
const headers = payload.message.headers;
const data = await payload.message.json();
await payload.accept(); // or await payload.reject();
// ...
});
FAQs
MQueue adapter for STOMP
We found that @mqueue/stompjs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.