seneca-rabbitmq-transport-v2
v0.2.6
Published
Seneca RabbitMQ transport
Downloads
3
Maintainers
Readme
seneca-rabbitmq-transport-v2
Seneca micro-services message transport over RabbitMQ messaging. Contains some updates (including message acknowledgement) as the main repo wasn't bein updated!
Support
For questions: @rjrodger @zbangazbanga @atticjack
Current Version: 0.2.6
Tested on: Node 4.2.1, Seneca 0.6.5
Install
npm install seneca-rabbitmq-transport-v2
You'll also need RabbitMQ or another server that implements version 0.9.1+ of the AMQP protocol.
Quick Example
require('seneca')()
.use('rabbitmq-transport')
.add('foo:two',function(args,done){ done(null,{bar:args.bar}) })
.client( {type:'rabbitmq',url:'amqp://localhost',pin:'foo:one,bar:*'} )
.listen( {type:'rabbitmq',url:'amqp://localhost',pin:'foo:two,bar:*'} )