<div class="gmail_quote"><div>Hello all,</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">> - our STOMP adapter was written by TonyG and is largely unloved.<br>
<br>
I dunno, I love it a little :-)<br></blockquote><div><br></div><div>Glad to hear it! I'm having problems with the stomp adaptor, plugin installation and mercurial tags, I think. (But I'm new to erlang as well as the above!)</div>
<div><br></div><div>If I do this:</div><div><br></div><div>hg clone <a href="http://hg.rabbitmq.com/rabbitmq-public-umbrella">http://hg.rabbitmq.com/rabbitmq-public-umbrella</a></div><div>cd rabbitmq-public-umbrella/</div>
<div>make co</div><div>make</div><div>cd rabbitmq-stomp/</div><div>make cover</div><div>cd ../rabbitmq-server/</div><div>mkdir plugins</div><div>cd plugins/</div><div>ln -s ../../rabbitmq-stomp/</div><div>ln -s ../../rabbitmq-erlang-client/</div>
<div>cd ..</div><div>./scripts/rabbitmq-activate-plugins </div><div>make cleandb run </div><div><br></div><div>on ubuntu 10.04 LTS, the tests pass and I can use Orbited's handy STOMP test demo to verify everything is working from outside the server (connections passing through nginx to Orbited). </div>
<div><br></div><div>I have also installed the ubuntu package via apt-get which according to the startup log is v1.7.2. However, I can't seem to install the stomp plugin into this installation: I copy the .ez file into a plugins directory, run rabbitmq-activate-plugins and start (or restart) rabbit. I get </div>
<div><div>> broker running</div><div>> starting STOMP Adapter (binding to [{"127.0.0.1",61613}]) ...done</div></div><div>in the startup_log which looks good</div><div><br></div><div>But then the STOMP test produces this error from rabbitmq:</div>
<div><div>=INFO REPORT==== 21-Jun-2010::13:24:48 ===</div><div>starting STOMP connection <0.176.0> from <a href="http://127.0.0.1:59714">127.0.0.1:59714</a></div><div><br></div><div>=ERROR REPORT==== 21-Jun-2010::13:24:48 ===</div>
<div>STOMP error frame sent:</div><div>Message: "Processing error"</div><div>Detail: "Processing error\n"</div><div>Server private detail: {undef,[{rabbit_reader_queue_collector,start_link,[]},</div><div>
{rabbit_stomp_server,do_login,4},</div><div> {rabbit_stomp_server,process_frame,3},</div><div> {rabbit_stomp_server,process_received_bytes,2},</div>
<div> {rabbit_stomp_server,init,1},</div><div> {proc_lib,init_p_do_apply,3}]}</div><div><br></div><div>=INFO REPORT==== 21-Jun-2010::13:24:48 ===</div><div>ending STOMP connection <0.176.0> from <a href="http://127.0.0.1:59714">127.0.0.1:59714</a></div>
</div><div><br></div><div>I've tried hg up-ping rabbitmq-server and codegen to the 1_7_2 tag (the other repositories don't have this tag), rebuilding and installing the resulting plugin but no luck so far. </div>
<div>
<br></div><div>So my first question is: am I missing some step that would make this work? (or alternatively are the plugins precompiled somewhere for different releases of the broker?)</div><div><br></div><div>I decided some 6 months or more ago that STOMP was the way to go for my problem (then parked the problem ;-), but lately I've seen some posts about the rabbitmq-jsonrpc-channel that have me second-guessing myself. </div>
<div><br></div><div>I'm looking to provide a queue per client (typically connecting over HTTP using a long polling technique) for the delivery of text based messages (100% reliability not required). STOMP support is not a requirement for me so I'm wondering if I should investigate the rabbitmq-jsonrpc-channel approach and thus eliminate the Orbited component completely: any thoughts on this? And is the rabbitmq-jsonrpc-channel plugin more loved/robust/stable ;-) ? </div>
<div><br></div><div>Thanks,</div><div>Steven. </div><div><br></div></div>