conejo v0.5.0 Conejo.Channel behaviour View Source
Conejo.Channel
is the behaviour which will help you to implement your own RabbitMQ Channels.
This behaviour is a low level module. I recommend to use Conejo.Consumer
or Conejo.Publisher
for your applications.
Link to this section Summary
Callbacks
It publishes data asynchronously
It binds to a queue
The channel starts to consume data
It declares an exchange
It declares a queue
Callback called when a message is received
It publishes data synchronously
Link to this section Types
Link to this section Callbacks
It publishes data asynchronously
It binds to a queue
The channel starts to consume data
Link to this callback
declare_exchange(channel, exchange, exchange_type)
View Source
declare_exchange(channel(), exchange(), exchange_type()) :: any()
It declares an exchange
It declares a queue
Callback called when a message is received
It publishes data synchronously