Constructs an AmqpBroker with the given options.
The configuration of the connection to make. If
undefined, will connect to RabbitMQ at localhost:6379.
An AmqpBroker connected using the specified configuration.
Disconnects from the RabbitMQ node. Only call once. Alias for #end().
A Promise that resolves once the connection is closed.
Disconnects from the RabbitMQ node. Only call once.
A Promise that resolves once the connection is closed.
Queues a message onto the requested exchange.
The message to be published. Used to determine the publishing options.
A Promise that resolves to "flushed to write buffer".
Generated using TypeDoc
AmqpBrokerimplementsMessageBrokerusing theRabbitMQmessage broker. Messages are, by default, durable, and will survive a broker restart.