Producer process linked to the current process.
The following option can be given to
Producer when starting it. Note that
queue_name is required.
adapter - Sets the
AMQPHelpers.Adapter. Defaults to
setup_channel_on_init - Whether to configure the channel for reliable
message sending on init or not. Defaults to
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
channel_name - The name of the configured channel to use. See
AMQP.Application for more information. Defaults to
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
more information about these.