Project

growl-amqp

0.0
No commit activity in last 3 years
No release in over 3 years
Report AMQP messages via Growl. Grr, grr!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.6.5
>= 1.0.10
>= 1.0.3
 Project Readme

GrowlAMQP

Display AMQP messages in growl.

The built in binary, 'growlamqp', will run out-of-the-box to report messages with non-binary data. It looks like this:

growlamqp example

$ growlamqp -e amq.direct -k my.key.name
$

If your data requires post-processing, or you only want to see some data, write a wrapper script. Return whatever you want and growl will print it. Return nil and it won't print it.

queuemon

# queuemon
#!/usr/bin/env ruby
require 'growlamqp'
require 'bert'

GrowlAMQP.monitor! do | msg |
  BERT.decode(msg)
end

The file 'queuemon' is now a workable executable, complete with config files, command line options, and more. Enjoy.