Sha256: f21231c65d4fad9d2f061979d152c7d174970387d1a1d0b4a50a45c9c723f378

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 KB

Contents

# Tennis::Backend::Rabbit

A RabbitMQ backend for [tennis-jobs][tennis-jobs].

<a target="_blank" href="https://travis-ci.org/nicoolas25/tennis-rmq"><img src="https://travis-ci.org/nicoolas25/tennis-rmq.svg?branch=master" /></a>
<a target="_blank" href="https://codeclimate.com/github/nicoolas25/tennis-rmq"><img src="https://codeclimate.com/github/nicoolas25/tennis-rmq/badges/gpa.svg" /></a>
<a target="_blank" href="https://codeclimate.com/github/nicoolas25/tennis-rmq/coverage"><img src="https://codeclimate.com/github/nicoolas25/tennis-rmq/badges/coverage.svg" /></a>
<a target="_blank" href="https://rubygems.org/gems/tennis-jobs-rmq"><img src="https://badge.fury.io/rb/tennis-jobs-rmq.svg" /></a>

## Usage

Simply configure Tennis with this backend:

``` ruby
AMQP_URL = "redis://localhost:6379"

Tennis.configure do |config|
  config.backend = Tennis::Backend::Rabbit.new(logger: logger, url: AMQP_URL)
end
```

## TODO

- Support the delay option.

## License

The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).


[tennis-jobs]: https://github.com/nicoolas25/tennis

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tennis-jobs-rmq-0.4.0 README.md