Behaviours: supervisor.
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.init/1 | |
start_link/5 | Start the supervisor. |
init(X1) -> any()
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