@flexfactory/message-daemon

1.1.0 • Public • Published

message-daemon

Install

npm i --save @flexfactory/message-daemon

Usage

const MessageDaemon = require('@flexfactory/message-daemon');
const Store = require('../services/Store');
const Rabbit = require('../services/Rabbit');
const log = require('../logger');

MessageDaemon.start(
  Store.knex,
  Store.pg,
  Rabbit.publish,
  log
);

process.on('SIGTERM', () => {
  process.exit();
});

Readme

Keywords

none

Package Sidebar

Install

npm i @flexfactory/message-daemon

Weekly Downloads

0

Version

1.1.0

License

UNLICENSED

Unpacked Size

2.46 kB

Total Files

3

Last publish

Collaborators

  • richturnbull