simple-pubsub-amqp v0.4.3
Simple PubSub, AMQP
A Simple™-conformant wrapper for the AMQP PubSub Implementation
NOTE: As of v0.5.0 this project is now mantained by Wymp and the
package is published on github. Please use @wymp/simple-pubsub-amqp
for future versions of
this package. (This will require setting up an .npmrc
file at some level with the following line:
@wymp:registry=https://npm.pkg.github.com/wymp
.)
This package provides a light wrapper around amqplib that enforces conformity with the
SimplePubSubInterface
defined in
ts-simple-interfaces
.
See that package for information about the interface.
This implementation provides for the definition of exchange and queue options via the optional
options
argument supplied to the subscribe
function. For publishing, you must first call the
assertChannel
method, which is a pass-through to the underlying assertExchange
method of
amqplib
and accepts the same arguments.
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago