github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

celldee / bunny

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 157
    • 13
  • Source
  • Commits
  • Network (13)
  • Issues (2)
  • Downloads (7)
  • Wiki (7)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (3)
    • experimental
    • master ✓
    • next_release
  • Tags (2)
    • 0.6.2
    • 0.6.1
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Another synchronous Ruby AMQP client — Read more

  cancel

http://wiki.github.com/celldee/bunny

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Amend the README.rdoc 
celldee (author)
Sun Dec 13 12:48:05 -0800 2009
commit  2cfdb92383aede78fdce76fbd5397acf6d5d9a70
tree    06166281de03d4245116b24761301e46b053baab
parent  3abdb9b3fec63fed40d45a3110164ebd844b2f4c
bunny /
name age
history
message
file .gitignore Mon Sep 07 04:15:53 -0700 2009 Reverse previous change to .gitignore [celldee]
file LICENSE Mon Apr 20 04:40:30 -0700 2009 Amend README and add LICENSE [celldee]
file README.rdoc Sun Dec 13 12:48:05 -0800 2009 Amend the README.rdoc [celldee]
file Rakefile Fri Jun 26 00:35:44 -0700 2009 Modifications to accommodate AMQP 0-9-1 [celldee]
file bunny.gemspec Mon Oct 05 07:43:21 -0700 2009 Release v0.6.0 [celldee]
directory examples/ Sun Sep 13 17:38:24 -0700 2009 Add Subscription classes and improve Queue#pop/... [celldee]
directory ext/ Sun Dec 13 12:42:28 -0800 2009 Changes to make Bunny comply with the DFSG (Deb... [celldee]
directory lib/ Sun Dec 13 12:42:28 -0800 2009 Changes to make Bunny comply with the DFSG (Deb... [celldee]
directory spec/ Mon Sep 21 01:25:04 -0700 2009 Change Client#returned_message to handle messag... [celldee]
README.rdoc

Bunny: A synchronous Ruby AMQP client

GitHub repo: github.com/celldee/bunny

Rubyforge: rubyforge.org/projects/bunny-amqp

Twitter: twitter.com/bunny_amqp

Google Group: groups.google.com/group/bunny-amqp

Blog: bunnyamqp.wordpress.com

DESCRIPTION:

Bunny is an AMQP (Advanced Message Queuing Protocol) client, written in Ruby, that is intended to allow you to interact with AMQP-compliant message brokers/servers such as RabbitMQ in a synchronous fashion.

It is based on a great deal of useful code from amqp by Aman Gupta and Carrot by Amos Elliston.

You can use Bunny to -

  • Create and delete exchanges
  • Create and delete queues
  • Publish and consume messages

Bunny is known to work with RabbitMQ versions 1.5.4 and above with version 0-8 of the AMQP specification.

INSTALL:

Rubyforge: gem install bunny

Gemcutter: gem install bunny

GitHub: Current gem is not available.

QUICK START:

   require 'bunny'

   b = Bunny.new(:logging => true)

   # start a communication session with the amqp server
   b.start

   # declare a queue
   q = b.queue('test1')

   # publish a message to the queue
   q.publish('Hello everybody!')

   # get message from the queue
   msg = q.pop[:payload]

   puts 'This is the message: ' + msg + "\n\n"

   # close the connection
   b.stop

EVEN QUICKER START

   require 'bunny'

   # Create a direct queue named 'my_testq'
   Bunny.run { |c| c.queue('my_testq') }

OTHER:

Please see the examples directory for additional usage information.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server