WhiteRabbit.Channel.start_amqp_channel
You're seeing just the function
start_amqp_channel
, go back to WhiteRabbit.Channel module for more information.
Link to this function
start_amqp_channel(channel_config, channel_registry \\ WhiteRabbit.ChannelRegistry)
View SourceStart an %AMQP.Channel{}
process with the given config connection.
Calls the WhiteRabbit.Connection Genserver registered under the connection atom to get the connection state and pid.
If succussful, will try to open a %AMQP.Channel{}
on the connection and then register the channel to a supervised registry.
If a nil
connection is returned, then retry opening the parent connection and this channel.
The retry backoff is in the form of 5000 + 1000 * current_backoff_number
Always return a {:ok, {_, _}}
tuple so the GenServer will always start.