1.2.1 • Published 1 year ago

@luckbox/mq-clients v1.2.1

Weekly downloads
124
License
ISC
Repository
github
Last release
1 year 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

1 year ago

1.2.0

2 years ago

1.1.4

2 years ago

1.1.3

3 years ago

1.1.0

3 years ago

1.1.2

3 years ago

1.0.16

3 years ago

1.0.15

3 years ago

1.0.14

3 years ago

1.0.13

3 years ago

1.0.12

3 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago