GithubHelp home page GithubHelp logo

jik0 / amq-client Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ruby-amqp/amq-client

1.0 2.0 0.0 4.79 MB

Low-level AMQP 0.9.1 client which is supposed to back higher-level AMQP libraries like amqp gem or bunny

Home Page: http://groups.google.com/group/ruby-amqp

License: MIT License

amq-client's Introduction

About amq-client

amq-client is a fully-featured, low-level AMQP 0.9.1 client that runs on Ruby 1.8.7, 1.9.2, REE, Rubinius and JRuby.
It’s sweet spot is in serving as foundation for higher-level, more opinionated AMQP libraries.
It can be used directly by applications code when performance and access to
advanced AMQP protocol features is more important that API convenience.

How does amq-client relate to amqp gem, amq-protocol and libraries like bunny?

|--------------|      |-----------------------|      |----------------------|
| amq-protocol |      | amq-client            |      | amqp gem, bunny, etc |
|  - Encoding  | ===> |  - IO abstraction     | ===> |  - high-level API    |
|  - Decoding  |      |  - Low-level AMQP API |      |  - opinionated       |
|              |      |  - Framing            |      |                      |
|--------------|      |-----------------------|      |----------------------|

  • At the lowest level, amq-protocol gem takes care of encoding, decoding and framing.
  • One level above is amq-client gem that takes care of network I/O, provides uniform interface for
    various I/O libraries like EventMachine, cool.io or good old TCP sockets and implements
    AMQP protocol entities (queues, exchanges, channels and so on) with emphasis on access to every feature available over API convenience or
    conciseness.
  • Finally, end applications use libraries like amqp gem or bunny AMQP client

Adapters

Currently implemented adapters:

EventMachine adapter

At this point EventMachine adapter is feature-complete, well-tested, supports 5 Ruby implementations
(1.8.7, 1.9.2, JRuby, Rubinius, Ruby Enterprise Edition) plus Microsoft Windows™ and
is used by amqp gem starting with version 0.8.0.

cool.io adapter

cool.io adapter is on par with EventMachine but is not used by any popular libraries (that we know of).
Note that cool.io doesn’t work on JRuby and Microsoft Windows™.

Installation

amq-client is available from rubygems.org:

gem install amq-client

If you use Bundler and want to use the very latest version, add this to your Gemfile:


gem "amq-client", :git => "https://github.com/ruby-amqp/amq-client.git"

Pre-prelease versions

Pre-release versions are available from rubygems.org:

gem install amq-client --pre

See also

amq-client's People

Contributors

michaelklishin avatar markiz avatar iconara avatar alebsack avatar

Stargazers

Jivko Jivkov avatar

Watchers

James Cloos avatar Jivko Jivkov 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.