moraine-messaging

0.0.2 • Public • Published

Moraine Messaging

Abstacted messaging, currently only supports the stomp protocol.

Configuration

{
    default: 'stomp',
    stomp: {
        host: 'localhost',
        port: 61613,
        destinations: {
            pending: '/queue/conversions/pending',
            completed: '/topic/conversions/finished'
        },
        connectHeaders:{
            host: '/',
            login: 'username',
            passcode: 'password',
            'heart-beat': '5000,5000'
        }
    }
}

Events

connectError

clientConnected

clientDisconnected

subscribeError

addedListener

readError

messageReceived

messageEmitted

Readme

Keywords

Package Sidebar

Install

npm i moraine-messaging

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • aaronmaturen