0.0.2 • Published 9 years ago

moraine-messaging v0.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 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

9 years ago

0.0.1

9 years ago