0.0
No commit activity in last 3 years
No release in over 3 years
Rabbitmq ruby sender
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.10

Runtime

 Project Readme

Rabbitmq::Sender

Easy ruby rabbitmq sender.

Usage

require 'rabbitmq/sender'

Rabbitmq::Sender.config do |config|
      config.host 	  = '8.8.8.8'
      config.user 	  = 'superuser'
      config.password = 'superpassword'
      config.vhost    = 'supervhost'
      config.verbose  = true
end

Rabbitmq::Sender.send_to('send_queue', 'supermessage')

Configuration - defaults

logger:     Logger.new(STDOUT)
host:       '8.8.8.8'
port:       5672
pool:       20
timeout:    5
user:       nil
password:   nil
vhost:      '/'
prefetch:   10
verbose:    false
retry_time: 5

Installation

Add this line to your application's Gemfile:

gem 'rabbitmq-sender'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rabbitmq-sender

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rabbitmq-sender. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.