# ExRabbitMQ.RPC

Provides behavior modules for creating RPC clients and servers through RabbitMQ.

![RPC Diagram](rpc_diagram.png)

Under the hood, uses an [`ExRabbitMQ.Consumer`]( for configuring and consuming messages from RabbitMQ.

## Installation

The package can be installed by adding `ex_rabbitmq_rpc` to your list of dependencies in `mix.exs`:

def deps do
    {:ex_rabbitmq_rpc, "<~ X.Y"}

## Documentation

To read the documentation you may run `mix docs` in a console and then browse the `doc` folder, or visit [hexdocs](

## Testing

To run the tests, make sure you have access on the RabbitMQ service at `localhost`. You may configure the RabbitMQ service by editing the `config/test.exs` file.