Kombu.Transport.Virtual.Exchange (Kombu v0.1.0)

Copy Markdown View Source

Virtual AMQ Exchange type implementations (direct, topic, fanout), ported from kombu.transport.virtual.exchange.

Summary

Functions

Checks if prev exchange metadata is equivalent to the new declaration parameters.

Returns the map of standard exchange types ("direct", "topic", "fanout").

Returns the exchange module for type (defaulting to Direct).

Functions

equivalent?(prev, exchange, type, durable, auto_delete, arguments)

@spec equivalent?(map(), String.t(), String.t(), boolean(), boolean(), map() | nil) ::
  boolean()

Checks if prev exchange metadata is equivalent to the new declaration parameters.

standard_exchange_types()

@spec standard_exchange_types() :: %{required(String.t()) => module()}

Returns the map of standard exchange types ("direct", "topic", "fanout").

type_module(type)

@spec type_module(String.t() | nil) :: module()

Returns the exchange module for type (defaulting to Direct).