Peluquero.Peluqueria (peluquero v0.99.43) View Source

The supervisor process for the Peluquero.Actor and Peluquero.Rabbit pair.

Link to this section Summary

Functions

Removes the middleware from the middlewares list

Returns a specification to start this module under a supervisor.

Adds a handler to the handlers list

Directly publishes a payload to the publisher specified by name, queue and exchange

Publishes a new message to publisher specified by name, queue and exchange

Adds a middleware to the middlewares list

Adds a handler to the handlers list

Directly publishes a payload to the publisher specified by name, queue and exchange

Link to this section Functions

Link to this function

blunt!(name \\ nil, count \\ 0)

View Source

Removes the middleware from the middlewares list

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

comb!(name \\ nil, payload)

View Source

Specs

comb!(nil | binary(), any()) :: :ok

Adds a handler to the handlers list

Link to this function

comb!(name, queue, exchange, payload, routing_key \\ "")

View Source

Specs

comb!(nil | binary(), binary(), binary(), any(), binary()) :: :ok

Directly publishes a payload to the publisher specified by name, queue and exchange

Link to this function

publish!(name \\ nil, payload)

View Source

Specs

publish!(nil | binary(), any()) :: :ok
Link to this function

publish!(name, queue, exchange, payload, routing_key \\ "")

View Source

Specs

publish!(nil | binary(), binary(), binary(), any(), binary()) :: :ok

Publishes a new message to publisher specified by name, queue and exchange

Link to this function

scissors!(name \\ nil, fun)

View Source

Adds a middleware to the middlewares list

Link to this function

shear!(name \\ nil, payload)

View Source

Specs

shear!(nil | binary(), any()) :: :ok

Adds a handler to the handlers list

Link to this function

shear!(name, queue, exchange, payload, routing_key \\ "")

View Source

Specs

shear!(nil | binary(), binary(), binary(), any(), binary()) :: :ok

Directly publishes a payload to the publisher specified by name, queue and exchange