Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@fedify/amqp

Package Overview
Dependencies
Maintainers
1
Versions
371
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fedify/amqp

AMQP/RabbitMQ driver for Fedify

latest
Source
npmnpm
Version
1.8.13
Version published
Weekly downloads
1.3K
-14.09%
Maintainers
1
Weekly downloads
 
Created
Source

@fedify/amqp: AMQP/RabbitMQ driver for Fedify

JSR npm

[!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:

  • AmqpMessageQueue

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.

Installation

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

Keywords

fedify

FAQs

Package last updated on 10 Oct 2025

Did you know?

Socket

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.

Install

Related posts