1.2.1 • Published 2 years ago

@luckbox/mq-clients v1.2.1

Weekly downloads
124
License
ISC
Repository
github
Last release
2 years ago

Build Status

Coverage Status

Message Broker Clients

A collection of message broker implementations. Each implementation must conform the unified interface, which defines a single client who acts as both publisher and subscriber.

Installing

npm install -s @luckbox/mq-clients

Running the tests

npm run test

Usage

import { RabbitMQClient } from '@luckbox/mq-clients';

const client = new RabbitMQClient({
  amqp: {},
  exchange: {
    type: 'fanout',
  },
  retryTimeout: 1000,
  debug: true,
});

client.connect().then(() => {
  client.subscribe('nsp', console.log);
  client.publish('nsp', 'data');
});
1.2.1

2 years ago

1.2.0

3 years ago

1.1.4

3 years ago

1.1.3

4 years ago

1.1.0

4 years ago

1.1.2

4 years ago

1.0.16

5 years ago

1.0.15

5 years ago

1.0.14

5 years ago

1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago