Module amqp_server_sup

Keep track of an AMQP connection endpoint.

Behaviours: supervisor.

Description

Keep track of an AMQP connection endpoint

This module is a supervisor for the infrastructure which keeps track of a pool of AMQP server endpoints together with an AMQP connection. In effect, you supply a count of how many workers you want in the pool. Each worker is given a function to execute. Whenever there are messages on the queue, this function will be called.

Function Index

init/1
start_link/5Start the supervisor.

Function Details

init/1

init(X1) -> any()

start_link/5

start_link(RegName, ConnInfo, Config, Fun, Count) -> any()

Start the supervisor. The parameters are as in amqp_server_pool_sup except for RegName which supplies an atom() under which to register the connection for this tree.


Generated by EDoc