Derek,<div><br></div><div>How are you getting on with this? Has it proved useful or have you found that you need more functionality than you expected?</div><div><br></div><div>alexis </div><div><br></div><div><br></div><div>
<br><br><div class="gmail_quote">On Thu, Aug 19, 2010 at 4:46 AM, Derek Moore <span dir="ltr"><<a href="mailto:derek.p.moore@gmail.com">derek.p.moore@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I wrote this today at work. Others may find it useful also.<div><br></div><div>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.</div>
<div><br></div><div>I run the JavaScript from a shell script called "rabbitutil":</div><div>--</div><div>#!/bin/bash</div><div><div>java -cp js.jar:commons-io-1.2.jar:rabbitmq-client.jar \</div><div><span style="white-space:pre-wrap">        </span>org.mozilla.javascript.tools.shell.Main rabbitutil.js $@</div>
</div><div>--</div><div>and/or jrunscript (which I haven't really tested):</div><div>jrunscript -cp commons-io-1.2.jar:rabbitmq-client.jar rabbitutil.js</div><div><br></div><div>Source attached as "rabbitutil.txt", since .js is commonly filtered.</div>
<div><br></div><div>Cheers,</div><div><br></div><div>Derek P. Moore</div>
<br>_______________________________________________<br>
rabbitmq-discuss mailing list<br>
<a href="mailto:rabbitmq-discuss@lists.rabbitmq.com">rabbitmq-discuss@lists.rabbitmq.com</a><br>
<a href="https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss" target="_blank">https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss</a><br>
<br></blockquote></div><br></div>