dial-once/node-bunnymq

Rework exposed methods to publish() and subscribe()

Closed this issue · 0 comments

We should instanciate bunnymq and use directly publish or subscribe. There is no need to have two separate objects, and two different methods.

The renaming is because 'producer' and 'consumer' does not match AMQP specs.