roger v1.2.1 Roger.Queue View Source

Functions related to queues.

Link to this section Summary

Functions

Given a partition and a queue type, construct the Queue’s name for RabbitMQ

Flushes all messages on the given queue

Link to this section Types

Link to this type t() View Source
t() :: %Roger.Queue{channel: term(), confirmed: term(), consumer_tag: term(), max_workers: term(), type: term()}

Link to this section Functions

Link to this function define(type, max_workers) View Source
Link to this function make_name(partition_id, type, postfix \\ "") View Source

Given a partition and a queue type, construct the Queue’s name for RabbitMQ.

Link to this function purge(partition_id, queue_type) View Source

Flushes all messages on the given queue.