# Rbmq

Simple and easy creation of producers and consumers for RabbitMQ.
Written over <a href="" target="_blank">AMQP</a>

## Installation

The package can be installed as:

  1. Add `rbmq` to your list of dependencies in `mix.exs`:

    def deps do
      [{:rbmq, "~> 0.2.2"}]

  2. Ensure `rbmq` is started before your application:

    def application do
      [applications: [:rbmq]]

## Configuration

In `config/config.exs` or your configuration file, add:

config :rbmq, amqp_exchange: "rbmq_exchange"

config :rbmq, prefetch_count: 10

config :rbmq, amqp_params: [
  host: "localhost",
  port: 5672,
  username: "guest",
  password: "guest",