Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/erlangbureau/wolfmq
Simple message broker for Erlang applications
https://github.com/erlangbureau/wolfmq
erlang mq
Last synced: about 2 months ago
JSON representation
Simple message broker for Erlang applications
- Host: GitHub
- URL: https://github.com/erlangbureau/wolfmq
- Owner: erlangbureau
- License: mit
- Created: 2015-05-11T09:48:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-09-30T22:56:59.000Z (over 2 years ago)
- Last Synced: 2024-03-27T09:44:47.279Z (10 months ago)
- Topics: erlang, mq
- Language: Erlang
- Homepage:
- Size: 104 KB
- Stars: 13
- Watchers: 4
- Forks: 8
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
WolfMQ
============WolfMQ is a small and fast Erlang message broker and queued task processor
Description
===========**Wolfmq features:**
* Automatic creation and closing of the queues
* Use any term as a queue id
* Processes messages in the order in which they come
* Run different groups of queues on different supervisors
* By default, the queue is a task processor, but you can change behaviourGetting Started
===============```erl
1> application:start(wolfmq).
ok
2>
2> QueueId = erlang:unique_integer([monotonic, positive]) rem 10.
1
3>
3> ok = wolfmq:push(QueueId, fun() -> io:format("Hello world!~n"), ok end).
Hello world!
ok
4>
4> ok = wolfmq:push(QueueId, {io, format, ["Hello world!~n"]}).
Hello world!
ok
```Project Chat Room
=================
[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/erlangbureau/wolfmq)