ConduitAMQP v0.3.0 ConduitAMQP

AMQP adapter for Conduit.

  • url - Full connection url. Can be used instead of the individual connection options. Default is amqp://guest:guest@localhost:5672/.
  • host - Hostname of the broker (defaults to “localhost”);
  • port - Port the broker is listening on (defaults to 5672);
  • username - Username to connect to the broker as (defaults to “guest”);
  • password - Password to connect to the broker with (defaults to “guest”);
  • virtual_host - Name of a virtual host in the broker (defaults to “/“);
  • heartbeat - Hearbeat interval in seconds (defaults to 0 - turned off);
  • connection_timeout - Connection timeout in milliseconds (defaults to infinity);
  • conn_pool_size - Number of active connections to the broker
  • pub_pool_size - Number of publisher channels
  • options - Extra RabbitMQ options

Summary

Functions

Callback invoked to start the supervisor and during hot code upgrades

Functions

init(list)

Callback invoked to start the supervisor and during hot code upgrades.

Callback implementation for Supervisor.init/1.

publish(message, opts \\ [])

Callback implementation for Conduit.Adapter.publish/2.

start_link(broker, topology, subscribers, opts)

Callback implementation for Conduit.Adapter.start_link/4.

with_conn(fun)