UT Port Rabbit
Wrap around amqplib, that allows messaging through RabbitMQ.
Configuration
host
- passed ashostname
to connectport
- see connectexchange
- Rabbit exchange, where the outgoing messages will be published, see publishdestination
- UT namespace, where the incoming messages will be handledconnection
protocol
- see connectvhost
- see connectusername
- see connectpassword
- see connectssl
- passed as socketOptions to connectcert
- the client certificate to use orcertPath
from which to load itkey
- the private key orkeyPath
from which to load itca
- the root CA to trust orcaPaths
array of strings, from which to load thempassphrase
- the pass phrase for thekey
exchange
- Map describing exchanges to created on start.type
options
- see assertExchange
queue
- Map describing queues to created on start.name
- optional name, otherwise unique one will be createdexclusive
- see assertQueuedurable
- see assertQueueautoDelete
- see assertQueuearguments
- see assertQueuebind
- bind to exchange, can be one ofstring
- bind without patternobject
with propertiesexchange
andpattern
- bind using the specified exchange and pattern
See the official documentation for more information.