Holds virtual broker exchanges, bindings, and queue indices
(kombu.transport.virtual.base.BrokerState).
Summary
Functions
Appends a routing table entry {routing_key, pattern, queue} to exchange.
Declares a binding (queue, exchange, routing_key) with arguments.
Deletes a binding (queue, exchange, routing_key).
Clears all exchanges, bindings, and queue indices.
Deletes an exchange from state.exchanges.
Returns true if (queue, exchange, routing_key) is bound.
Creates a new %BrokerState{}.
Puts or updates an exchange entry in state.exchanges.
Returns a list of {exchange, routing_key, arguments} tuples for queue.
Deletes all bindings for queue.
Removes meta_tuple from exchange's routing table.
Types
@type t() :: %Kombu.Transport.Virtual.BrokerState{ bindings: %{required(binding_key()) => map() | nil}, exchanges: %{required(String.t()) => map()}, queue_index: %{required(String.t()) => MapSet.t(binding_key())} }
Functions
Appends a routing table entry {routing_key, pattern, queue} to exchange.
Declares a binding (queue, exchange, routing_key) with arguments.
Deletes a binding (queue, exchange, routing_key).
Clears all exchanges, bindings, and queue indices.
Deletes an exchange from state.exchanges.
Returns true if (queue, exchange, routing_key) is bound.
Creates a new %BrokerState{}.
Puts or updates an exchange entry in state.exchanges.
@spec queue_bindings(t(), String.t()) :: [queue_binding()]
Returns a list of {exchange, routing_key, arguments} tuples for queue.
Deletes all bindings for queue.
Removes meta_tuple from exchange's routing table.