Retort
JSONAPI over JSONRPC over RabbitMQ.
Supplies the RabbitMQ connection pool, Retort.Connection;
RPC servers, Retort.Server.*; and RPC clients, Retort.Client.*.
Installation
If available in Hex, the package can be installed as:
-
Add
retortto your list of dependencies inmix.exs:
```elixir
def deps do
[
{:retort, "~> 1.0"},
# connect to RabbitMQ
{:amqp, "~> 0.1.4"}
# dependency of `amqp` that needs to be overriden for OTP 19 compatibility
{:amqp_client, git: "https://github.com/dsrosario/amqp_client.git", branch: "erlang_otp_19", override: true}
]
end
```-
Ensure
retortis started before your application:
```elixir
def application do
[applications: [:retort]]
end
```