<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>stomp - Cognizant Transmutation</title>
	<atom:link href="https://www.ibd.com/tag/stomp/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.ibd.com</link>
	<description>Internet Bandwidth Development: Composting the Internet for over Two Decades</description>
	<lastBuildDate>Thu, 05 Aug 2021 06:03:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1</generator>

<image>
	<url>https://i0.wp.com/www.ibd.com/wp-content/uploads/2019/01/fullsizeoutput_7ae8.jpeg?fit=32%2C32&#038;ssl=1</url>
	<title>stomp - Cognizant Transmutation</title>
	<link>https://www.ibd.com</link>
	<width>32</width>
	<height>32</height>
</image> 
<atom:link rel="hub" href="https://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="https://pubsubhubbub.superfeedr.com"/><atom:link rel="hub" href="https://websubhub.com/hub"/><site xmlns="com-wordpress:feed-additions:1">156814061</site>	<item>
		<title>Updating RabbitMQ and RabbitMQ-Stomp to RabbitMQ 1.5.3</title>
		<link>https://www.ibd.com/scalable-deployment/updating-rabbitmq-and-rabbitmq-stomp-to-rabbitmq-153/</link>
					<comments>https://www.ibd.com/scalable-deployment/updating-rabbitmq-and-rabbitmq-stomp-to-rabbitmq-153/#comments</comments>
		
		<dc:creator><![CDATA[Robert J Berger]]></dc:creator>
		<pubDate>Sat, 14 Mar 2009 06:01:31 +0000</pubDate>
				<category><![CDATA[Scalable Deployment]]></category>
		<category><![CDATA[rabbitmq]]></category>
		<category><![CDATA[stomp]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=184</guid>

					<description><![CDATA[<p>I noticed that the rabbitmq-stomp had stopped working on my servers after a reboot. The servers were using the Ubuntu debian package of rabbitmq and had been updgraded to RabbitMQ 1.5.3 and stomp had not since I was manually installing rabbitmq-stomp from the mercurial repositories (cause I could not find any ubuntu packages for rabbitmq-stomp). If you used something similar&#8230;</p>
<p>The post <a href="https://www.ibd.com/scalable-deployment/updating-rabbitmq-and-rabbitmq-stomp-to-rabbitmq-153/">Updating RabbitMQ and RabbitMQ-Stomp to RabbitMQ 1.5.3</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>I noticed that the rabbitmq-stomp had stopped working on my servers after a reboot. The servers were using the Ubuntu debian package of rabbitmq and had been updgraded to RabbitMQ 1.5.3 and stomp had not since I was manually installing rabbitmq-stomp from the mercurial repositories (cause I could not find any ubuntu packages for rabbitmq-stomp).</p>
<p>If you used something similar to the install process described in my earlier <a href="http://blog2.ibd.com/scalable-deployment/deploying-rabbitmq-and-stomp-on-ubuntu/">Deploying RabbitMQ and Stomp on Ubuntu</a> you can do the following:</p>
<h2>Update RabbitMQ server</h2>
<h3>For Ubuntu</h3>
<pre>sudo apt-get update
sudo apt-get upgrade rabbitmq-server</pre>
<h3>For Macintosh Leopard</h3>
<p>Need to update the rabbitmq-codegen and rabbitmq-server using mercurial:</p>
<pre>cd /usr/lib/erlang/lib/rabbitmq-codegen
hg pull
hg update rabbitmq_v1_5_3</pre>
<pre>cd /usr/lib/erlang/lib/rabbitmq-server
hg pull
hg update rabbitmq_v1_5_3</pre>
<h3>For both Ubuntu and Leopard</h3>
<pre><strong>Update RabbitMQ-Stomp</strong></pre>
<pre>cd /usr/lib/erlang/lib/rabbitmq-stomp
hg pull
hg update rabbitmq_v1_5_3</pre>
<p>You can see what release tags are available after th hg pull via the command:</p>
<pre>hg tags</pre>
<p>Make sure there isn&#8217;t already an /etc/rabbitmq/rabbitmq.conf . If there is merge /etc/default/rabbitmq into /etc/rabbitmq/rabbitmq.conf (/opt/local/etc/ instead of /etc if you are using MacPorts)</p>
<p>Otherwise just move it:</p>
<pre>mv /etc/default/rabbitmq /etc/rabbitmq/rabbitmq.conf</pre>
<h2>Rebuild the rabbitmq-stomp programs</h2>
<p>Still in /usr/lib/erlang/lib/rabbitmq-stomp</p>
<h3>For Ubuntu</h3>
<pre>make RABBIT_SERVER_SOURCE_ROOT=../rabbitmq_server-1.5.3 all</pre>
<pre>/etc/init.d/rabbitmq-server restart</pre>
<h3>For Macintosh Leopard</h3>
<pre>make all</pre>
<p>If you updated rabbitmq-server make sure it builds and run</p>
<pre>cd /usr/lib/erlang/lib/rabbitmq-server
make -j run</pre>
<p>If it starts ok you can quit and then from now on run it by issuing the command:</p>
<pre>/opt/local/lib/erlang/lib/rabbitmq-server/scripts/rabbitmq-server -detached</pre><p>The post <a href="https://www.ibd.com/scalable-deployment/updating-rabbitmq-and-rabbitmq-stomp-to-rabbitmq-153/">Updating RabbitMQ and RabbitMQ-Stomp to RabbitMQ 1.5.3</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.ibd.com/scalable-deployment/updating-rabbitmq-and-rabbitmq-stomp-to-rabbitmq-153/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">184</post-id>	</item>
		<item>
		<title>Deploying RabbitMQ and Stomp on Ubuntu</title>
		<link>https://www.ibd.com/runa/deploying-rabbitmq-and-stomp-on-ubuntu/</link>
					<comments>https://www.ibd.com/runa/deploying-rabbitmq-and-stomp-on-ubuntu/#comments</comments>
		
		<dc:creator><![CDATA[Robert J Berger]]></dc:creator>
		<pubDate>Fri, 02 Jan 2009 10:33:31 +0000</pubDate>
				<category><![CDATA[Runa]]></category>
		<category><![CDATA[Scalable Deployment]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[rabbitmq]]></category>
		<category><![CDATA[stomp]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://blog2.ibd.com/?p=89</guid>

					<description><![CDATA[<p>Install rabbitmq via synaptic Make sure that the erlang package is installed Add a repository from the rabbitmq site Set up Repository via the Synaptic GUI tool (http://www.rabbitmq.com/debian/) Set up Repository via command line Ubuntu Documentation for Managing Repositories via the Command Line How to use the RabbitMQ Debian repository and available RabbitMQ Debian packages The repositories are described in&#8230;</p>
<p>The post <a href="https://www.ibd.com/runa/deploying-rabbitmq-and-stomp-on-ubuntu/">Deploying RabbitMQ and Stomp on Ubuntu</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></description>
										<content:encoded><![CDATA[<h2>Install rabbitmq via synaptic</h2>
<h3>Make sure that the erlang package is installed</h3>
<h3>Add a repository from the rabbitmq site</h3>
<h4>Set up Repository via the Synaptic GUI tool</h4>
<p>(http://www.rabbitmq.com/debian/)</p>
<h4>Set up Repository via command line</h4>
<p>Ubuntu Documentation for <a href="https://help.ubuntu.com/community/Repositories/CommandLine" target="_blank" rel="noopener">Managing Repositories via the Command Line</a></p>
<p>How to use the RabbitMQ Debian repository and available <a href="http://www.rabbitmq.com/debian.html" target="_blank" rel="noopener">RabbitMQ Debian packages</a></p>
<p>The repositories are described in /etc/apt/sources.list</p>
<p>So do the following:</p>
<pre>sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup</pre>
<p>Edit /etc/apt/sources.list and add the following line:</p>
<pre>deb http://www.rabbitmq.com/debian/ testing main</pre>
<p>Then update the apt-get environment:</p>
<pre class="sourcecode">wget http://www.rabbitmq.com/rabbitmq-signing-key-public.asc
sudo apt-key add rabbitmq-signing-key-public.asc
sudo apt-get update</pre>
<h3>Install the RabbitMQ Server</h3>
<h4>Set up Repository via the Synaptic GUI tool</h4>
<h4>Set up Repository via command line</h4>
<pre class="sourcecode">sudo apt-get install rabbitmq-server</pre>
<p>This should have installed the main portion of the code base in <code>/usr/lib/erlang/lib/rabbitmq_server-1.5.1 (The trailing version number may be different than 1.5.1)</code></p>
<h4>After it installed the server, make sure its stopped</h4>
<p><code># /etc/init.d/rabbitmq-server stop</code></p>
<h2>Install rabbitmq-stomp</h2>
<p>I could not find any ubuntu/debian packages so I installed it from the Mercurial repository. If you don&#8217;t already have Mercurial (the hg command) then you can install it with the following command:</p>
<pre><span style="font-family: Georgia; line-height: 19px; white-space: normal;">a</span>pt-get install mercurial</pre>
<h3>Install the rabbitmq-stomp code</h3>
<p>This also will go parallel to where the ubuntu package put the stomp server main code and the rabbit-codegen.</p>
<pre><code>cd /usr/lib/erlang/lib/
hg clone http://hg.rabbitmq.com/rabbitmq-stomp/
</code></pre>
<h3>Compile the stomp code</h3>
<h4>Build and test run rabbitmq and stomp via make</h4>
<pre><code>cd /usr/lib/erlang/lib/rabbitmq-stomp
make RABBIT_SERVER_SOURCE_ROOT=../rabbitmq_server-1.5.1 all
</code></pre>
<p>This should produce an output like:</p>
<pre><code>mkdir -p ebin
erlc -I ../rabbitmq_server-1.5.0/include -I include -o ebin -Wall +debug_info  src/rabbit_stomp.erl
erlc -I ../rabbitmq_server-1.5.0/include -I include -o ebin -Wall +debug_info  src/stomp_frame.erl </code></pre>
<h3><span style="font-weight: normal;">A</span>dd a file /etc/default/rabbitmq and Restart rabbitmq_server</h3>
<p>You need to tell the main rabbitmq_server to load and run the rabbitmq-stomp stuff when it starts up. You do that by creating this file with the following content:</p>
<pre>SERVER_START_ARGS='
  -pa /usr//lib/erlang/lib/rabbitmq-stomp/ebin
  -rabbit
     stomp_listeners [{"0.0.0.0",61613}]
     extra_startup_steps [{"STOMP-listeners",rabbit_stomp,kickstart,[]}]'</pre>
<h4>Restart the Rabbitmq_server:</h4>
<pre>/etc/init.d/rabbitmq_server start</pre>
<p>You can do a</p>
<pre><span style="font-family: Georgia; line-height: 19px; white-space: normal;">p</span>s -ax | grep stomp</pre>
<p>and see an erlang process that is running the rabbit-stomp process.</p>
<h3>Install ruby stomp client code and test</h3>
<h4>Install the ruby stomp gems</h4>
<p>If you don&#8217;t have ruby already installed:</p>
<pre><code>sudo apt-get install ruby
sudo apt-get install rubygems
</code></pre>
<p>Then install the ruby stomp gem</p>
<pre><code>sudo gem install stomp
</code></pre>
<h4>Run the ruby receiver client in one window</h4>
<p><code>ruby /usr/lib/erlang/lib/rabbit-stomp/examples/ruby/cb-receiver.rb</code></p>
<h4>In another window run the ruby sender client</h4>
<p><code>ruby /usr/lib/erlang/lib/rabbit-stomp/examples/ruby/cb-sender.rb</code></p>
<h4>In the receiver window you should see 10,000 test message lines:</h4>
<pre><code>...
Test Message number 9998
Test Message number 9999
All Done!</code></pre>
<p><span style="font-family: -webkit-monospace;"><strong>That&#8217;s it! Now you can use Stomp</strong></span></p>
<p><span style="font-family: -webkit-monospace;"><strong>(See later post <a title="Permanent Link to Updating RabbitMQ and RabbitMQ-Stomp to RabbitMQ 1.5.3" href="http://blog2.ibd.com/scalable-deployment/updating-rabbitmq-and-rabbitmq-stomp-to-rabbitmq-153/" rel="bookmark">Updating RabbitMQ and RabbitMQ-Stomp to RabbitMQ 1.5.3</a>)</strong></span></p><p>The post <a href="https://www.ibd.com/runa/deploying-rabbitmq-and-stomp-on-ubuntu/">Deploying RabbitMQ and Stomp on Ubuntu</a> first appeared on <a href="https://www.ibd.com">Cognizant Transmutation</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.ibd.com/runa/deploying-rabbitmq-and-stomp-on-ubuntu/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">89</post-id>	</item>
	</channel>
</rss>
