ConduitAMQP v0.6.4 ConduitAMQP View Source
AMQP adapter for Conduit.
url
- Full connection url. Can be used instead of the individual connection options. Default isamqp://guest:guest@localhost:5672/
.host
- Hostname of the broker (defaults to "localhost");port
- Port the broker is listening on (defaults to5672
);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 to0
- turned off);connection_timeout
- Connection timeout in milliseconds (defaults toinfinity
);conn_pool_size
- Number of active connections to the brokerpub_pool_size
- Number of publisher channelsoptions
- Extra RabbitMQ options
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
Callback invoked to start the supervisor and during hot code upgrades
Callback implementation for Conduit.Adapter.publish/3
Callback implementation for Conduit.Adapter.publish/4
Callback implementation for Conduit.Adapter.start_link/4
Link to this section Types
broker()
View Source
broker() :: module()
broker() :: module()
chan()
View Source
chan() :: AMQP.Channel.t()
chan() :: AMQP.Channel.t()
conn()
View Source
conn() :: AMQP.Connection.t()
conn() :: AMQP.Connection.t()
Link to this section Functions
child_spec(init_arg) View Source
Returns a specification to start this module under a supervisor.
See Supervisor
.
init(list) View Source
Callback invoked to start the supervisor and during hot code upgrades.
Developers typically invoke Supervisor.init/2
at the end of their
init callback to return the proper supervision flags.
Callback implementation for Supervisor.init/1
.
name(broker) View Source
publish(message, config, opts) View Source
Callback implementation for Conduit.Adapter.publish/3
.
publish(broker, message, config, opts) View Source
Callback implementation for Conduit.Adapter.publish/4
.
start_link(broker, topology, subscribers, opts) View Source
Callback implementation for Conduit.Adapter.start_link/4
.