mumba-microservice-servicebus
v0.2.1
Published
A Mumba Microservice module that provides Service Bus (via RabbitMQ) support.
Downloads
3
Readme
Mumba Microservice ServiceBus
Provide Service Bus (via RabbitMQ) support for a Microservice.
Configuration
This module requires that a Config
object has been registered as config
.
Property | Type | Description
--- | :---: | ---
amqp
| object
| A dictionary of options required for RabbitMQ.
amqp:url
| string
| The URL of the RabbitMQ server (for example amqp://rabbitmq
).
DI Container
This module adds the following container artifacts if they don't already exist.
Name | Type | Description
--- | :---: | ---
serviceBus
| Bus
| An instance of a servicebus
object.
Installation
$ npm install --save mumba-microservice-servicebus
$ typings install --save dicontainer=npm:mumba-typedef-dicontainer
Examples
TODO
Tests
To run the test suite, first install the dependencies, then run npm test
:
$ npm run docker:up
$ npm install
$ npm test
$ npm docker:down
People
The original author of Mumba Microservice Service Bus is Andrew Eddie.
License
© 2016 Mumba Pty Ltd. All rights reserved.