I gave it some tests here today. 
This is a really useful tool to have for testing and scripting as it has no 
dependencies on other frameworks like perl, stomp, etc. 

The only requirements are the commands gawk and socat. Both can be installed 
easily on Unix based systems. 
Make sure to check out the code directly from github 
https://github.com/ebuzzing/bash-mq and not from the blog post referenced in 
the earlier email. The latter may not work out of the box, the former does.


Thanks,
Torsten Mielke
tors...@fusesource.com
tmielke.blogspot.com


On Nov 23, 2012, at 4:09 PM, Christian Posta wrote:

> Pretty sweet. Thanks!
> 
> 
> On Thu, Nov 22, 2012 at 3:19 AM, Laurent Laborde <kerdez...@gmail.com>wrote:
> 
>> Friendly greetings !
>> i rewrote
>> http://www.nobugs.org/blog/archives/2008/05/11/squawk-simple-queues-using-awk/
>> The repository can be found here : https://github.com/ebuzzing/bash-mq
>> 
>> Feature :
>> - login/password handling
>> - program option using getopts
>> - use socat instead of nc
>> - easier to maintain (hopefully!)
>> - can specify message handler from command like
>> - provided sample handler
>> - can specify handler option to the consumer
>> 
>> TODO (eventually) :
>> - use "expect" instead of echo for error handling
>> - the awk script could be improved
>> 
>> License is WTFPL so ...
>> 0. You just DO WHAT THE FUCK YOU WANT TO.
>> 
>> I probably should add a friendly credit to Andrew Birkett
>> If you're here and want me to add some better credit than what i
>> wrote, just ask :)
>> 
>> *hugs*
>> 
>> 
>> --
>> Laurent "ker2x" Laborde
>> Sysadmin & DBA at http://www.over-blog.com/
>> 
> 
> 
> 
> -- 
> *Christian Posta*
> http://www.christianposta.com/blog
> twitter: @christianposta






Reply via email to