0.0.2 • Published 10 years ago

moraine-messaging v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

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

0.0.2

10 years ago

0.0.1

10 years ago