
Product
Announcing Bun and vlt Support in Socket
Bringing supply chain security to the next generation of JavaScript package managers
@fedify/amqp
Advanced tools
[!NOTE]
Although it's theoretically possible to be used with any AMQP 0-9-1 broker, this package is primarily designed for and tested with RabbitMQ.
This package provides Fedify's MessageQueue implementation for AMQP, which
is supported by RabbitMQ:
Here is an example of how to use it:
import { createFederation } from "@fedify/fedify";
import { AmqpMessageQueue } from "@fedify/amqp";
import { connect } from "amqplib";
const federation = createFederation({
queue: new AmqpMessageQueue(await connect("amqp://localhost")),
// ... other configurations
});
The AmqpMessageQueue constructor accepts options as the second
parameter, which can be used to configure the message queue:
new AmqpMessageQueue(await connect("amqp://localhost"), {
queue: "my_queue",
})
For more details, please refer to the docs of AmqpMessageQueueOptions.
deno add jsr:@fedify/amqp # Deno
npm add @fedify/amqp # npm
pnpm add @fedify/amqp # pnpm
yarn add @fedify/amqp # Yarn
bun add @fedify/amqp # Bun
FAQs
AMQP/RabbitMQ driver for Fedify
The npm package @fedify/amqp receives a total of 1,111 weekly downloads. As such, @fedify/amqp popularity was classified as popular.
We found that @fedify/amqp 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.

Product
Bringing supply chain security to the next generation of JavaScript package managers

Product
A safer, faster way to eliminate vulnerabilities without updating dependencies

Product
Reachability analysis for Ruby is now in beta, helping teams identify which vulnerabilities are truly exploitable in their applications.