Repository is archived
No commit activity in last 3 years
No release in over 3 years
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.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

>= 0

Runtime

>= 0
 Project Readme

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)