Hi, Alexis,<br /><br />I have been using the script at work to white-box test Python click processing servers (over @ my gracious employer Adknowledge).  We use RabbitMQ to separate & stage events between the incoming (request/response), staging (persistence/replay), & handling (validation/processing/storage) steps of various event handling processes.<br /><br />I have used JavaScript to do useful things with jars in telecom before (CTI & IVR)...  And it suits itself quite well to application OLTP systems it seems...  But in my haste & pride to post the script I left a few functions dangling, so here it is again for those interested:<br /><br />http://github.com/derekm/rabbitutil<br /><br />I slipped in the new RabbitMQ Java jars only to find they&#39;re 0-9-1-only.  It would be nice if the new libs were dual-mode, since 2.0 upgrades will be phased in slowly by most organizations using these technologies.<br /><br />I&#39;ve expected similar queueing & messaging behaviors from systems like Alcatel/Lucent&#39;s Genesys platform and barely received it...  Having only recently been introduced to these technologies, I have to say I like RabbitMQ & Qpid over that other stuff any day!  I&#39;m not sure yet if AMQP is the wire protocol to solve all wire protocols, but it&#39;s a step on the way there. (I used to prefer the wire protocol: &quot;&lt;&lt;&quot; followed by two characters of choice &quot;CC&quot; followed by 4-byte encoded 64-bit length of string followed by preferred interchange format.  But with RabbitMQ I hope I never write another wire protocol again.)<br /><br />I use my rabbitutil script&#39;s inject_msg, inject_msgs, & remove_msg daily, but I did setup my environment using its other commands.  I like Rabbit&#39;s Java API over other ampq libs of various languages.  The ease of working with it is illustrated by this script, I think.  I haven&#39;t thought of much else to add to this basic set of commands, except to improve the commands themselves (arguments & options, etc.).  But if people have ideas I&#39;d be happy to work with them.<br /><br />I&#39;d do what I can help see functionality like this distributed with some component of RabbitMQ.  rabbitmqctl is very useful.  Would this kind of functionality have to be integrated into that command to ship?<br /><br />Thanks!<br /><br />Derek<br /><br /><br />On Sep 2, 2010 6:17am, Alexis Richardson &lt;alexis@rabbitmq.com&gt; wrote:<br />&gt; Derek,<br />&gt; <br />&gt; How are you getting on with this? �Has it proved useful or have you found that you need more functionality than you expected?<br />&gt; <br />&gt; <br />&gt; alexis�<br />&gt; <br />&gt; <br />&gt; <br />&gt; <br />&gt; <br />&gt; <br />&gt; <br />&gt; On Thu, Aug 19, 2010 at 4:46 AM, Derek Moore derek.p.moore@gmail.com&gt; wrote:<br />&gt; <br />&gt; I wrote this today at work. �Others may find it useful also.<br />&gt; <br />&gt; 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.<br />&gt; <br />&gt; <br />&gt; <br />&gt; <br />&gt; I run the JavaScript from a shell script called &quot;rabbitutil&quot;:<br />&gt; --<br />&gt; #!/bin/bash<br />&gt; java -cp js.jar:commons-io-1.2.jar:rabbitmq-client.jar \<br />&gt;         org.mozilla.javascript.tools.shell.Main rabbitutil.js $@<br />&gt; <br />&gt; <br />&gt; <br />&gt; --<br />&gt; and/or jrunscript (which I haven&#39;t really tested):<br />&gt; jrunscript -cp commons-io-1.2.jar:rabbitmq-client.jar rabbitutil.js<br />&gt; <br />&gt; <br />&gt; Source attached as &quot;rabbitutil.txt&quot;, since .js is commonly filtered.<br />&gt; <br />&gt; <br />&gt; <br />&gt; <br />&gt; Cheers,<br />&gt; <br />&gt; <br />&gt; &lt;&gt; div&gt;Derek P. Moore<br />&gt; <br />&gt; <br />&gt; _______________________________________________<br />&gt; <br />&gt; rabbitmq-discuss mailing list<br />&gt; <br />&gt; rabbitmq-discuss@lists.rabbitmq.com<br />&gt; <br />&gt; https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss<br />&gt; <br />&gt; <br />&gt; <br />&gt; <br />&gt; <br />&gt; <br />&gt;