brontes3d / amqp_listener

This URL has Read+Write access

name age message
file MIT-LICENSE Wed Sep 16 16:26:19 -0700 2009 update copyright. [Rajiv Aaron Manglani]
file README Wed Sep 16 16:26:19 -0700 2009 update copyright. [Rajiv Aaron Manglani]
file README.rdoc Wed Sep 16 16:26:19 -0700 2009 update copyright. [Rajiv Aaron Manglani]
file Rakefile Mon Aug 24 11:41:58 -0700 2009 initial commit [jacobo]
file init.rb Fri Nov 13 12:20:23 -0800 2009 having issues with AMQP and EM returning contro... [jacobo]
file install.rb Mon Aug 24 11:41:58 -0700 2009 initial commit [jacobo]
directory lib/ Mon Jan 04 11:25:05 -0800 2010 enable configuration of additional options to Q... [jacobo]
directory script/ Mon Aug 24 11:41:58 -0700 2009 initial commit [jacobo]
directory tasks/ Mon Aug 24 11:41:58 -0700 2009 initial commit [jacobo]
directory test/ Mon Jan 04 11:25:05 -0800 2010 enable configuration of additional options to Q... [jacobo]
file uninstall.rb Mon Aug 24 11:41:58 -0700 2009 initial commit [jacobo]
README.rdoc

AMQP Listener

a.k.a "Floppy Ears" (since everything that connects to RabbitMQ apparently has to have a cute lapine nickname)

So this plugin is just like ActiveMessaging or Workling, except that it’s specific to sending and handling AMQP messages, and being so specific it’s much simpler. It’s basically a light wrapper around github.com/tmm1/amqp to integrate like Workling/ActiveMessaging into your rails app. Meaning it gives you a script you can run alongside your rails app to handle messages, a folder to define all those message handlers in, and a yaml config file to define your AMQP connections.

Setup

When we have a generator, it will make amqp_listeners folder in app, and amqp_listener.yml file in config and an amqp_listener script in script

for now you can just use: AmqpListener.run and let the exceptions lead you into the rest

Copyright © 2009 3M. All rights reserved. Released under the MIT license.

Authored by Jacob Burkhart.