View Source WhiteRabbit.ChannelSupervisor (White Rabbit v0.2.0)

Supervisor of multiple AMQP Channels.

Each child is a WhiteRabbit.Channel GenServer started with a :one_for_one strategy.

This Supervisor should be started under a WhiteRabbit.PoolSupervisor that also supervises one WhiteRabbit.Connection that will be used for all the children channels in the amqp connection pool.

Channel Pool layout:

     ChannelSupervisor
      /      |      Channel   Channel   Channel

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for Supervisor.init/1.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Callback implementation for Supervisor.init/1.