Giter Site home page Giter Site logo

indyone / exrabbitmq Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kaizen-gaming/exrabbitmq

0.0 1.0 0.0 727 KB

A thin, boilerplate hiding wrapper for https://github.com/pma/amqp (RabbitMQ client library)

License: MIT License

Elixir 100.00%
elixir rabbitmq

exrabbitmq's Introduction

ExRabbitMQ

A project providing the following abstractions:

  1. Connection lifecycle handling
  2. Channel lifecycle handling
  3. A consumer behaviour for consuming from a RabbitMQ queue
  4. A producer behaviour for publishing messages to a RabbitMQ queue

The goal of the project are:

  1. Make it unnecessary for the programmer to directly handle connections and channels
  2. Reduce the boilerplate when creating new projects that interact with RabbitMQ

As such, hooks are provided to enable the programmer to handle message delivery, cancellation, acknowlegement, rejection as well as publishing.

For more information on implementing a consumer, see the documentation of the ExRabbitMQ.Consumer behaviour.

For more information on implementing a producer, see the documentation of the ExRabbitMQ.Producer behaviour.

Installation

  1. Add {:exrabbitmq, "~> X.Y"} (https://hex.pm/packages/exrabbitmq) in your project's deps function in mix.exs
  2. Run mix deps.get and mix compile in your project's root directory to download and compile the package

Documentation

  1. Run mix deps.get, mix compile and mix docs in :exrabbitmq's root directory
  2. Serve the doc folder in :exrabbitmq's root directory with a web server

exrabbitmq's People

Contributors

sadesyllas avatar

Watchers

Ioannis Stavrinos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.