AMQPHelpers.Reliability.Producer.start_link

You're seeing just the function start_link, go back to AMQPHelpers.Reliability.Producer module for more information.
Link to this function

start_link(opts \\ [])

Specs

start_link(options()) :: GenServer.on_start()

Starts a Producer process linked to the current process.

Options

The following option can be given to Producer when starting it. Note that queue_name is required.

  • adapter - Sets the AMQPHelpers.Adapter. Defaults to AMQPHelpers.Adapters.AMQP.
  • setup_channel_on_init - Whether to configure the channel for reliable message sending on init or not. Defaults to false.
  • channel - The channel to use to consume messages. NOTE: do not use this for production environments because this producer does not supervise the given channel. Instead, use channel_name which makes use of AMQP.Application.
  • channel_name - The name of the configured channel to use. See AMQP.Application for more information. Defaults to :default.
  • retry_interval - The number of millisecond to wait if an error happens when trying to consume messages or when trying to open a channel.

GenServer.options/0 are also available. See GenServer.start_link/2 for more information about these.