Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

rabbitmq/rabbitmq-service-util

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rabbitmq-service-util

Utility code to obtain the RabbitMQ service connection information on multiple PaaSes. The returned connection info can then be passed to common Ruby AMQP client libraries, such as the amqp gem or bunny gem

Currently supports Cloud Foundry and Heroku.

Getting started

Add the rubygem to your application's Gemfile:

gem 'rabbitmq-service-util'

Usage

require 'rabbitmq-service-util'

# If using the amqp gem
connection = AMQP.connect(RabbitMQ::amqp_connection_url)

# If using the bunny gem
connection = Bunny.new(RabbitMQ::amqp_connection_url)

About

Makes accessing the RabbitMQ service/add-on super easy

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages