[rabbitmq-discuss] rabbitutil.js - rabbitmqctl sibling in JavaScript w/ RabbitMQ Java & Mozilla Rhino

Alexis Richardson alexis at rabbitmq.com
Thu Sep 2 12:17:50 BST 2010


Derek,

How are you getting on with this?  Has it proved useful or have you found
that you need more functionality than you expected?

alexis




On Thu, Aug 19, 2010 at 4:46 AM, Derek Moore <derek.p.moore at gmail.com>wrote:

> I wrote this today at work.  Others may find it useful also.
>
> I wanted what rabbitmqctl seemed to lack, so I wrote this up quick & dirty.
>  It is very simple, no validation, but functional.  I also needed something
> to inject messages for testing purposes.
>
> I run the JavaScript from a shell script called "rabbitutil":
> --
> #!/bin/bash
> java -cp js.jar:commons-io-1.2.jar:rabbitmq-client.jar \
> org.mozilla.javascript.tools.shell.Main rabbitutil.js $@
> --
> and/or jrunscript (which I haven't really tested):
> jrunscript -cp commons-io-1.2.jar:rabbitmq-client.jar rabbitutil.js
>
> Source attached as "rabbitutil.txt", since .js is commonly filtered.
>
> Cheers,
>
> Derek P. Moore
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss at lists.rabbitmq.com
> https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rabbitmq.com/pipermail/rabbitmq-discuss/attachments/20100902/cf2c00e2/attachment.htm>


More information about the rabbitmq-discuss mailing list