Redrive Docs
Docs: Queues & messages

Queues & messages

Browse queues, read messages, and clean up.

The Queues screen lists every queue in the selected vhost, or in all of them. From a queue’s page you can read its messages without consuming them, change its bindings, purge it or delete it. To move messages out of an error queue, see Redriving.

The queue list

The name filter and the chip counts cover every queue in scope, on every page. The list shows 50 queues a page, in name order, and refreshes every five seconds.

Chip Matches
All Every queue
Errors Error, skipped and dead-letter queues, empty ones included
Idle Queues with no messages and no publish or deliver rate, error queues excluded
No consumers Queues without a consumer, error queues excluded

A queue counts as an error queue when its name ends in _error or _skipped, or when another queue dead-letters into it.

By service groups each MassTransit endpoint with its _error and _skipped queues under the service name.

Error queues

The Queues screen with the Errors chip selected

Top fault is the largest group in the queue’s last scan. A queue that hasn’t been scanned has a Scan button there.

Empty error queues are hidden until you click Show them.

Seeing every broker’s error queues in one list is part of Pro. On Pro the view defaults to All connections and ignores the selected vhost. On Free it covers the current broker.

The Failure kinds view beside the list is part of Team. See Known failures for more information.

Create a queue

Quorum and stream queues are always durable and never auto-delete, so Redrive locks those switches for them.

Redrive refuses a name that already exists in the vhost, and any name starting with amq., which RabbitMQ reserves.

Inside a queue

Error and dead-letter queues open on Messages. Every other queue opens on Overview.

Unbind, in the Bindings card’s table view, removes a binding without asking.

RabbitMQ 4.0 and later give a quorum queue a delivery limit of 20 when nothing sets one. Redrive shows that as default (20).

Peek messages

Peek lets you read messages without consuming them. Redrive reads them from the head of the queue and puts them back.

A peek reads 50, 100, 250 or 1,000 messages. It can return fewer when consumers take messages at the same time, or when the messages are very large.

Peeked messages go back flagged as redelivered, and their order can change. The list is a snapshot, so peek again to refresh it.

An _error queue opens grouped by fault, with Scan in place of Peek. Turn off Group by exception to peek it. Stream queues can’t be peeked.

Note: Before RabbitMQ 4.3, a quorum queue counts each requeue as a delivery attempt, and a message at its delivery limit is dropped or dead-lettered. Redrive asks before it peeks a quorum queue that has a limit.

Read a message

A peeked queue with one message open beside the list

The list filter matches message ids, types and bodies in the peeked batch only.

On Pro, with the contract’s package installed, a message’s MassTransit tag opens its type in Contracts.

The Fault section shows the start of the stack trace. Copying it copies all of it.

Copy message and Export message give you the whole message as JSON, properties and headers included.

Purge and delete

Purge drops every ready message. Messages a consumer holds unacknowledged stay. You confirm by typing the message count. A stream queue can’t be purged.

Delete removes the queue with its messages and bindings, whether or not it’s empty or in use. You confirm by typing the queue name.

Hold Shift while you choose either one to skip the confirmation. Both are recorded in Activity.