Skip to content
/ mess Public

🌀 A modern, broker-agnostic, distributed message queue for deno

License

Notifications You must be signed in to change notification settings

denosaurs/mess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mess

Tags deno doc checks License

Mess is a modern, broker-agnostic message queue for use in a distributed environment. Currently, AMQP is supported, with plans to add support for other platforms such as Redis and MQTT in the future.

Example

This example demonstrates how to use the AMQP message queue with the json serializer and deserializer:

import { AMQPMessageQueue } from "https://deno.land/x/mess/message_queue/implementations/amqp/mod.ts";
import * as json from "https://deno.land/x/mess/serializer_deserializer/json.ts";

const queue = new AMQPMessageQueue("test", {
  serializerDeserializer: deno,
  connection: "amqp://guest:guest@localhost:5672",
});

for await (const event of queue) {
  console.log(event.data);
  await event.deferred.resolve();
}

Documentation

Check out the docs here.

Maintainers

Other

Contribution

Pull request, issues and feedback are very welcome. Code style is formatted with deno fmt and commit messages are done following Conventional Commits spec.

License

Copyright 2023, the Denosaurs team. All rights reserved. MIT license.