5.0.0 • Published 22 days ago

@studiowebux/queue v5.0.0

Weekly downloads
-
License
SEE LICENSE IN li...
Repository
github
Last release
22 days ago

Introduction

This module wraps Rabbit MQ commands

Installation

npm install --save @studiowebux/queue

NPM

Usage

Configuration

TL;DR; Same as amqplib

const config = {
  connection: {
    protocol: 'amqp',
    hostname: 'localhost',
    port: 5672,
    username: 'user',
    password: 'password',
    locale: 'en_US',
    frameMax: 0,
    heartbeat: 0,
    vhost: 'my_vhost',
  },
  queue: {
    expiration: (60 * 1000 * 60).toString(),
    persistent: true,
  },
};

Functions

TBD

npm run doc

Quick start

The /examples directory has one example, use the start.sh script

Videos and other resources

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

SEE LICENSE IN license.txt

5.0.0

22 days ago

4.25.0

8 months ago

4.24.3

1 year ago