{"id":23289726,"url":"https://github.com/fedify-dev/amqp","last_synced_at":"2025-09-11T01:30:37.621Z","repository":{"id":257825879,"uuid":"872330229","full_name":"dahlia/fedify-amqp","owner":"dahlia","description":"AMQP/RabbitMQ driver for Fedify","archived":false,"fork":false,"pushed_at":"2024-10-14T10:50:59.000Z","size":16,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-31T05:09:51.904Z","etag":null,"topics":["amqp","fedify","rabbitmq"],"latest_commit_sha":null,"homepage":"https://jsr.io/@fedify/amqp","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dahlia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-14T08:52:50.000Z","updated_at":"2024-12-12T11:54:42.000Z","dependencies_parsed_at":"2024-10-16T05:40:11.256Z","dependency_job_id":null,"html_url":"https://github.com/dahlia/fedify-amqp","commit_stats":null,"previous_names":["dahlia/fedify-amqp"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahlia%2Ffedify-amqp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahlia%2Ffedify-amqp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahlia%2Ffedify-amqp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dahlia%2Ffedify-amqp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dahlia","download_url":"https://codeload.github.com/dahlia/fedify-amqp/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232581249,"owners_count":18545417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amqp","fedify","rabbitmq"],"created_at":"2024-12-20T04:17:51.168Z","updated_at":"2025-09-11T01:30:37.614Z","avatar_url":"https://github.com/dahlia.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- deno-fmt-ignore-file --\u003e\n\n@fedify/amqp: AMQP/RabbitMQ driver for Fedify\n=============================================\n\n\u003e [!IMPORTANT]\n\u003e This repository is obsolete and has been archived in favor of the monorepo\n\u003e [fedify-dev/fedify].\n\n[![JSR][JSR badge]][JSR]\n[![npm][npm badge]][npm]\n[![GitHub Actions][GitHub Actions badge]][GitHub Actions]\n\n\u003e [!NOTE]\n\u003e\n\u003e Although it's theoretically possible to be used with any AMQP 0-9-1 broker,\n\u003e this package is primarily designed for and tested with [RabbitMQ].\n\nThis package provides [Fedify]'s [`MessageQueue`] implementation for AMQP, which\nis supported by RabbitMQ:\n\n -  [`AmqpMessageQueue`]\n\nHere is an example of how to use it:\n\n~~~~ typescript\nimport { createFederation } from \"@fedify/fedify\";\nimport { AmqpMessageQueue } from \"@fedify/amqp\";\nimport { connect } from \"amqplib\";\n\nconst federation = createFederation({\n  queue: new AmqpMessageQueue(await connect(\"amqp://localhost\")),\n  // ... other configurations\n});\n~~~~\n\nThe `AmqpMessageQueue` constructor accepts options as the second\nparameter, which can be used to configure the message queue:\n\n~~~~ typescript\nnew AmqpMessageQueue(await connect(\"amqp://localhost\"), {\n  queue: \"my_queue\",\n})\n~~~~\n\nFor more details, please refer to the docs of [`AmqpMessageQueueOptions`].\n\n[fedify-dev/fedify]: https://github.com/fedify-dev/fedify\n[JSR]: https://jsr.io/@fedify/amqp\n[JSR badge]: https://jsr.io/badges/@fedify/amqp\n[npm]: https://www.npmjs.com/package/@fedify/amqp\n[npm badge]: https://img.shields.io/npm/v/@fedify/amqp?logo=npm\n[GitHub Actions]: https://github.com/fedify-dev/amqp/actions/workflows/main.yaml\n[GitHub Actions badge]: https://github.com/fedify-dev/amqp/actions/workflows/main.yaml/badge.svg\n[RabbitMQ]: https://www.rabbitmq.com/\n[Fedify]: https://fedify.dev/\n[`KvStore`]: https://jsr.io/@fedify/fedify/doc/federation/~/KvStore\n[`MessageQueue`]: https://jsr.io/@fedify/fedify/doc/federation/~/MessageQueue\n[`AmqpMessageQueue`]: https://jsr.io/@fedify/amqp/doc/mq/~/AmqpMessageQueue\n[`AmqpMessageQueueOptions`]: https://jsr.io/@fedify/amqp/doc/mq/~/AmqpMessageQueueOptions\n\n\nInstallation\n------------\n\n### Deno\n\n~~~~ sh\ndeno add @fedify/amqp\n~~~~\n\n### Node.js\n\n~~~~ sh\nnpm install @fedify/amqp\n~~~~\n\n### Bun\n\n~~~~ sh\nbun add @fedify/amqp\n~~~~\n\n\nChangelog\n---------\n\n### Version 0.4.0\n\nTo be released.\n\n### Version 0.3.0\n\nReleased on June 25, 2025.\n\n -  Added `nativeRetrial` option to `AmqpMessageQueueOptions` to enable\n    native retrial of messages.\n\n -  The type of the `AmqpMessageQueue()` constructor's first parameter has been\n    changed from `Connection` to `ChannelModel`.\n\n### Version 0.2.0\n\nReleased on March 28, 2025.\n\n -  Added `AmqpMessageQueue.enqueueMany()` method for efficiently enqueuing\n    multiple messages at once.\n\n -  Updated *@js-temporal/polyfill* to 0.5.0 for Node.js and Bun. On Deno,\n    there is no change because the polyfill is not used.\n\n### Version 0.1.0\n\nInitial release.  Released on October 14, 2024.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedify-dev%2Famqp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffedify-dev%2Famqp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffedify-dev%2Famqp/lists"}