<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.12-alpha" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How to run RabbitMQ&#8217;s experimental STOMP adapter</title>
	<link>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter</link>
	<description>What happens at LShift</description>
	<pubDate>Wed, 08 Oct 2008 03:15:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.12-alpha</generator>

	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-118336</link>
		<pubDate>Thu, 07 Aug 2008 18:59:27 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-118336</guid>
					<description>&lt;p&gt;See this post: &lt;a href="http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130" rel="nofollow"&gt;http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130&lt;/a&gt; for the bug fix.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>See this post: <a href="http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130" rel="nofollow">http://www.lshift.net/blog/2008/04/30/stomp-adapter-updated-for-rabbitmq-130</a> for the bug fix.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-92903</link>
		<pubDate>Tue, 29 Apr 2008 17:20:33 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-92903</guid>
					<description>&lt;p&gt;Carl, thank you for your comment - you have discovered a bug in the STOMP adapter. I'll update here and on the mailing-list when we have a fix. Regards, Tony&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Carl, thank you for your comment - you have discovered a bug in the STOMP adapter. I&#8217;ll update here and on the mailing-list when we have a fix. Regards, Tony</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Carl Bourne</title>
		<link>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-92619</link>
		<pubDate>Sun, 27 Apr 2008 23:03:44 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-92619</guid>
					<description>&lt;p&gt;Hi I've been doing some testing with the rabbitmq-200803291005 snapshot and the Ruby Stomp library. &lt;/p&gt;

&lt;p&gt;&lt;b&gt;I have test sender:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;require 'rubygems'
require 'stomp'&lt;/p&gt;

&lt;p&gt;client = Stomp::Client.new("guest", "guest", "192.168.1.17", 61613)
10000.times { &#124;i&#124; client.send 'carl', "Test Message number #{i}"}
client.send 'carl', "All Done!"&lt;/p&gt;

&lt;p&gt;&lt;b&gt;A test receiver:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;require 'rubygems'
require 'stomp'&lt;/p&gt;

&lt;p&gt;conn = Stomp::Connection.open('guest', 'guest', '192.168.1.17')
conn.subscribe('carl')
while true
  mesg = conn.receive&lt;/p&gt;

&lt;p&gt;puts mesg if mesg&lt;/p&gt;

&lt;p&gt;puts mesg.body if mesg
  sleep 0.0001
end  &lt;/p&gt;

&lt;p&gt;However it seems that every third batch of 10000 messages I send,  the receiver (or maybe its the sender) drops the last 10-20 messages. I've tested this on Ubuntu and MAC OSX.&lt;/p&gt;

&lt;p&gt;Any Idea what could cause this?&lt;/p&gt;

&lt;p&gt;Also, when will the stomp adapter be included in the official RabbitMQ distribution? or better still will there be a native AMQP library for Ruby?&lt;/p&gt;

&lt;p&gt;Best Regards,&lt;/p&gt;

&lt;p&gt;Carl&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi I&#8217;ve been doing some testing with the rabbitmq-200803291005 snapshot and the Ruby Stomp library. </p>
<p><b>I have test sender:</b></p>
<p>require &#8216;rubygems&#8217;<br />
require &#8217;stomp&#8217;</p>
<p>client = Stomp::Client.new(&#8221;guest&#8221;, &#8220;guest&#8221;, &#8220;192.168.1.17&#8243;, 61613)<br />
10000.times { |i| client.send &#8216;carl&#8217;, &#8220;Test Message number #{i}&#8221;}<br />
client.send &#8216;carl&#8217;, &#8220;All Done!&#8221;</p>
<p><b>A test receiver:</b></p>
<p>require &#8216;rubygems&#8217;<br />
require &#8217;stomp&#8217;</p>
<p>conn = Stomp::Connection.open(&#8217;guest&#8217;, &#8216;guest&#8217;, &#8216;192.168.1.17&#8242;)<br />
conn.subscribe(&#8217;carl&#8217;)<br />
while true<br />
  mesg = conn.receive</p>
<p>puts mesg if mesg</p>
<p>puts mesg.body if mesg<br />
  sleep 0.0001<br />
end  </p>
<p>However it seems that every third batch of 10000 messages I send,  the receiver (or maybe its the sender) drops the last 10-20 messages. I&#8217;ve tested this on Ubuntu and MAC OSX.</p>
<p>Any Idea what could cause this?</p>
<p>Also, when will the stomp adapter be included in the official RabbitMQ distribution? or better still will there be a native AMQP library for Ruby?</p>
<p>Best Regards,</p>
<p>Carl</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-91079</link>
		<pubDate>Fri, 18 Apr 2008 15:46:35 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-91079</guid>
					<description>&lt;p&gt;@Henry: Sorry about that. The STOMP adapter isn't presently an official part of RabbitMQ, and I've not had an opportunity to update it to work with RabbitMQ 1.3. It should work with the specific snapshots mentioned in the post.&lt;/p&gt;

&lt;p&gt;The shell I usually use is bash. With regard to the crash-on-manual run, it looks like it's failing to be able to write to /tmp. If you're using cygwin, chances are this is because of a disconnect between the Unix mode and the Windows mode of the system. Try setting LOG_BASE to something other than /tmp.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Henry: Sorry about that. The STOMP adapter isn&#8217;t presently an official part of RabbitMQ, and I&#8217;ve not had an opportunity to update it to work with RabbitMQ 1.3. It should work with the specific snapshots mentioned in the post.</p>
<p>The shell I usually use is bash. With regard to the crash-on-manual run, it looks like it&#8217;s failing to be able to write to /tmp. If you&#8217;re using cygwin, chances are this is because of a disconnect between the Unix mode and the Windows mode of the system. Try setting LOG_BASE to something other than /tmp.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: tonyg</title>
		<link>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-91078</link>
		<pubDate>Fri, 18 Apr 2008 15:43:32 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-91078</guid>
					<description>&lt;p&gt;@Carl: Not explicitly. You could, of course, turn on SSL in whatever client library you use and use stunnel4 on the server-side to wrap the STOMP adapter.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Carl: Not explicitly. You could, of course, turn on SSL in whatever client library you use and use stunnel4 on the server-side to wrap the STOMP adapter.</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Henry Kaufman</title>
		<link>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-90677</link>
		<pubDate>Tue, 15 Apr 2008 01:26:33 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-90677</guid>
					<description>&lt;p&gt;Hi, 
  I'm interested in trying out the rabbitmq-stomp server to provide server support for a Flash-based chat client that I am working on, but I'm having trouble getting started.&lt;/p&gt;

&lt;p&gt;I tried to follow your step-by-step instructions on WindowsXP, but came across several stumbling blocks.  The version of rabbitmq-stomp that is currently available (rabbitmq-stomp-b01c04778288) does not seem to be compatible with the rabbitmq server any more.  When the "make ... run" command is issued (under cygwin bash or the dos shell), I get shell syntax errors:
$ make RABBIT&lt;em&gt;SOURCE&lt;/em&gt;ROOT=../rabbitmq-200801150657 run
c:/Program Files/GNU/make -C ../rabbitmq-200801150657/erlang/rabbit run \
                RABBIT&lt;em&gt;ARGS='-pa '"$(pwd)/ebin"' -rabbit \
                        stomp&lt;/em&gt;listeners [{\"0.0.0.0\",61613}] \
                        extra&lt;em&gt;startup&lt;/em&gt;steps [{\"STOMP-listeners\",rabbit&lt;em&gt;stomp,kickstart,[]}]'
/usr/bin/sh: -c: line 1: syntax error near unexpected token &lt;code&gt;('
/usr/bin/sh: -c: line 1:&lt;/code&gt;      RABBIT&lt;/em&gt;ARGS='-pa '\$(pwd)/ebin\' -rabbit \'
make: *** [start_server] Error 2&lt;/p&gt;

&lt;p&gt;What shell should I use to execute 'make ... run' in?&lt;/p&gt;

&lt;p&gt;If I manually create that run command, I get runtime errors too:
$ cd ../rabbitmq-200801150657/erlang/rabbit
$ make run RABBIT&lt;em&gt;ARGS='-pa ./ebin -rabbit \
   stomp&lt;/em&gt;listeners [{\"0.0.0.0\",61613}] \
   extra&lt;em&gt;startup&lt;/em&gt;steps [{\"STOMP-listeners\",rabbit_stomp,kickstart,[]}]'&lt;/p&gt;

&lt;p&gt;output:
NODE&lt;em&gt;IP&lt;/em&gt;ADDRESS= NODE&lt;em&gt;PORT= NODE&lt;/em&gt;ONLY=true LOG&lt;em&gt;BASE=/tmp  RABBIT&lt;/em&gt;ARGS="-pa ./ebin -rabbit \
   stomp&lt;em&gt;listeners [{\"0.0.0.0\",61613}] \
   extra&lt;/em&gt;startup&lt;em&gt;steps [{\"STOMP-listeners\",rabbit&lt;/em&gt;stomp,kickstart,[]}] -s rabbit" MNESIA&lt;em&gt;DIR=/tmp/rabbitmq-rabbit-mnesia ./scripts/rabbitmq-server
kernel-poll not supported; "K" parameter ignored
Eshell V5.5.5  (abort with ^G)
(rabbit@henry-mac)1&#62; {"init terminating in do&lt;/em&gt;boot",{{nocatch,{error,{cannot&lt;em&gt;log&lt;/em&gt;to&lt;em&gt;file,"/tmp/rabbit.log",eexist}}},[{init,start&lt;/em&gt;it,1},{init,start_em,1}]}}&lt;/p&gt;

&lt;p&gt;Crash dump was written to: erl&lt;em&gt;crash.dump
init terminating in do&lt;/em&gt;boot ()
make: *** [run] Error 1&lt;/p&gt;

&lt;p&gt;Any ideas why trying to run the rabbitmq server with Stomp  is crashing?  Any help would be much appreciated!
Thanks,
  -Henry&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,<br />
  I&#8217;m interested in trying out the rabbitmq-stomp server to provide server support for a Flash-based chat client that I am working on, but I&#8217;m having trouble getting started.</p>
<p>I tried to follow your step-by-step instructions on WindowsXP, but came across several stumbling blocks.  The version of rabbitmq-stomp that is currently available (rabbitmq-stomp-b01c04778288) does not seem to be compatible with the rabbitmq server any more.  When the &#8220;make &#8230; run&#8221; command is issued (under cygwin bash or the dos shell), I get shell syntax errors:<br />
$ make RABBIT<em>SOURCE</em>ROOT=../rabbitmq-200801150657 run<br />
c:/Program Files/GNU/make -C ../rabbitmq-200801150657/erlang/rabbit run \<br />
                RABBIT<em>ARGS=&#8217;-pa &#8216;&#8221;$(pwd)/ebin&#8221;&#8216; -rabbit \<br />
                        stomp</em>listeners [{\&#8221;0.0.0.0\&#8221;,61613}] \<br />
                        extra<em>startup</em>steps [{\&#8221;STOMP-listeners\&#8221;,rabbit<em>stomp,kickstart,[]}]&#8217;<br />
/usr/bin/sh: -c: line 1: syntax error near unexpected token <code>('<br />
/usr/bin/sh: -c: line 1:</code>      RABBIT</em>ARGS=&#8217;-pa &#8216;\$(pwd)/ebin\&#8217; -rabbit \&#8217;<br />
make: *** [start_server] Error 2</p>
<p>What shell should I use to execute &#8216;make &#8230; run&#8217; in?</p>
<p>If I manually create that run command, I get runtime errors too:<br />
$ cd ../rabbitmq-200801150657/erlang/rabbit<br />
$ make run RABBIT<em>ARGS=&#8217;-pa ./ebin -rabbit \<br />
   stomp</em>listeners [{\&#8221;0.0.0.0\&#8221;,61613}] \<br />
   extra<em>startup</em>steps [{\&#8221;STOMP-listeners\&#8221;,rabbit_stomp,kickstart,[]}]&#8217;</p>
<p>output:<br />
NODE<em>IP</em>ADDRESS= NODE<em>PORT= NODE</em>ONLY=true LOG<em>BASE=/tmp  RABBIT</em>ARGS=&#8221;-pa ./ebin -rabbit \<br />
   stomp<em>listeners [{\&#8221;0.0.0.0\&#8221;,61613}] \<br />
   extra</em>startup<em>steps [{\&#8221;STOMP-listeners\&#8221;,rabbit</em>stomp,kickstart,[]}] -s rabbit&#8221; MNESIA<em>DIR=/tmp/rabbitmq-rabbit-mnesia ./scripts/rabbitmq-server<br />
kernel-poll not supported; &#8220;K&#8221; parameter ignored<br />
Eshell V5.5.5  (abort with ^G)<br />
(rabbit@henry-mac)1&gt; {&#8221;init terminating in do</em>boot&#8221;,{{nocatch,{error,{cannot<em>log</em>to<em>file,&#8221;/tmp/rabbit.log&#8221;,eexist}}},[{init,start</em>it,1},{init,start_em,1}]}}</p>
<p>Crash dump was written to: erl<em>crash.dump<br />
init terminating in do</em>boot ()<br />
make: *** [run] Error 1</p>
<p>Any ideas why trying to run the rabbitmq server with Stomp  is crashing?  Any help would be much appreciated!<br />
Thanks,<br />
  -Henry</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Carl Bourne</title>
		<link>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-89540</link>
		<pubDate>Wed, 02 Apr 2008 23:30:51 +0000</pubDate>
		<guid>http://www.lshift.net/blog/2008/02/02/how-to-run-rabbitmqs-experimental-stomp-adapter#comment-89540</guid>
					<description>&lt;p&gt;Does this currently support SSL/TLS?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Does this currently support SSL/TLS?</p>
]]></content:encoded>
				</item>
</channel>
</rss>
