Closes the active channel, this will throw a RabbitMqChannelClosedError in the consumer's stream
Commits a message (ack command of amqp)
amqplib's message object
Returns a channel object of amqplib
Returns current consumer's configs. Returns null if consumer was setup with custom setup function
Return a connection object of amqplib
Initializes the consumer, sets up internal RabbitMQ structure according to configs or runs custom setup function, if provided
connection
Constantly attempts to reconnect to RabbitMQ either default or given amount of times with some default or given timeout
Rejects a message (nack command of amqp)
amqplib's message object
set true if there is a need to reject all messages up to current, default is false
set true if there is a need to put this message back in to the queue, default is false
Sets consumer's configs
consumer's configs
Sets custom setup function
custom setup function
Returns an instance of ReplaySubject
Generated using TypeDoc
Used for setting up or ensuring required RabbitMQ internal structure and consuming messages.