Skip to content

RabbitMQ RPC Client and Server library for Elixir.

License

Notifications You must be signed in to change notification settings

Kaizen-Gaming/ex_rabbitmq_rpc

Repository files navigation

ExRabbitMQ.RPC

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

RPC Diagram

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, "<~ 1.0"}
  ]
end

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.