<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Using Apache ActiveMQ</title>
	<atom:link href="http://snikt.net/index.php/2007/09/18/using-apache-activemq/feed" rel="self" type="application/rss+xml" />
	<link>http://snikt.net/index.php/2007/09/18/using-apache-activemq</link>
	<description>Vi veri ueniversum vivus vici</description>
	<lastBuildDate>Thu, 12 Aug 2010 18:25:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: andy</title>
		<link>http://snikt.net/index.php/2007/09/18/using-apache-activemq/comment-page-1#comment-22</link>
		<dc:creator>andy</dc:creator>
		<pubDate>Wed, 19 Sep 2007 16:14:33 +0000</pubDate>
		<guid isPermaLink="false">http://happiness-is-slavery.net/index.php/2007/09/18/using-apache-activemq/#comment-22</guid>
		<description>&lt;p&gt;This isn&#039;t that easy anymore (as the code in question was ripped out), but I have another project that uses the same activeMQ configuration, albeit configured through Spring. The profile run was comparable to the original problem.&lt;/p&gt;
&lt;p&gt;This are the major ActiveMQ related parts:&lt;/p&gt;
&lt;p&gt;&lt;!-- message queue initialization --&gt;&lt;br /&gt;
	&lt;bean id=&quot;connectionFactory&quot;&lt;br /&gt;
		class=&quot;org.apache.activemq.ActiveMQConnectionFactory&quot;&gt;&lt;br /&gt;
		&lt;property name=&quot;brokerURL&quot;&lt;br /&gt;
			value=&quot;vm://localhost?broker.persistent=false&quot; /&gt;&lt;br /&gt;
	&lt;/bean&gt;&lt;/p&gt;
&lt;p&gt;	&lt;!-- a javax.jms.Connection --&gt;&lt;br /&gt;
	&lt;bean id=&quot;connection&quot; factory-bean=&quot;connectionFactory&quot;&lt;br /&gt;
		factory-method=&quot;createConnection&quot; init-method=&quot;start&quot; /&gt;&lt;/p&gt;
&lt;p&gt;	&lt;!-- a jms session --&gt;&lt;br /&gt;
	&lt;bean id=&quot;session&quot; factory-bean=&quot;connection&quot;&lt;br /&gt;
		factory-method=&quot;createSession&quot;&gt;&lt;br /&gt;
		&lt;constructor-arg value=&quot;false&quot; /&gt;&lt;br /&gt;
		&lt;constructor-arg&gt;&lt;br /&gt;
			&lt;bean id=&quot;javax.jms.Session.AUTO_ACKNOWLEDGE&quot;&lt;br /&gt;
				class=&quot;org.springframework.beans.factory.config.FieldRetrievingFactoryBean&quot; /&gt;&lt;br /&gt;
		&lt;/constructor-arg&gt;&lt;br /&gt;
	&lt;/bean&gt;&lt;/p&gt;
&lt;p&gt;	&lt;!-- the destination (Topic or Queue) --&gt;&lt;br /&gt;
	&lt;bean id=&quot;mailDestination&quot; factory-bean=&quot;session&quot;&lt;br /&gt;
		factory-method=&quot;createQueue&quot;&gt;&lt;br /&gt;
		&lt;constructor-arg value=&quot;mailqueue&quot; /&gt;&lt;br /&gt;
	&lt;/bean&gt;&lt;/p&gt;
&lt;p&gt;&lt;!-- anonymous consumer - message queue &lt;-&gt; persistence manager wiring --&gt;&lt;br /&gt;
	&lt;bean factory-bean=&quot;session&quot; factory-method=&quot;createConsumer&quot;&gt;&lt;br /&gt;
		&lt;constructor-arg ref=&quot;mailDestination&quot; /&gt;&lt;br /&gt;
		&lt;property name=&quot;messageListener&quot;&lt;br /&gt;
			ref=&quot;passthroughPersistenceManager&quot; /&gt;&lt;br /&gt;
	&lt;/bean&gt;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>This isn&#8217;t that easy anymore (as the code in question was ripped out), but I have another project that uses the same activeMQ configuration, albeit configured through Spring. The profile run was comparable to the original problem.</p>
<p>This are the major ActiveMQ related parts:</p>
<p>&lt;!&#8211; message queue initialization &#8211;&gt;<br />
	&lt;bean id=&#8221;connectionFactory&#8221;<br />
		class=&#8221;org.apache.activemq.ActiveMQConnectionFactory&#8221;&gt;<br />
		&lt;property name=&#8221;brokerURL&#8221;<br />
			value=&#8221;vm://localhost?broker.persistent=false&#8221; /&gt;<br />
	&lt;/bean&gt;</p>
<p>	&lt;!&#8211; a javax.jms.Connection &#8211;&gt;<br />
	&lt;bean id=&#8221;connection&#8221; factory-bean=&#8221;connectionFactory&#8221;<br />
		factory-method=&#8221;createConnection&#8221; init-method=&#8221;start&#8221; /&gt;</p>
<p>	&lt;!&#8211; a jms session &#8211;&gt;<br />
	&lt;bean id=&#8221;session&#8221; factory-bean=&#8221;connection&#8221;<br />
		factory-method=&#8221;createSession&#8221;&gt;<br />
		&lt;constructor-arg value=&#8221;false&#8221; /&gt;<br />
		&lt;constructor-arg&gt;<br />
			&lt;bean id=&#8221;javax.jms.Session.AUTO_ACKNOWLEDGE&#8221;<br />
				class=&#8221;org.springframework.beans.factory.config.FieldRetrievingFactoryBean&#8221; /&gt;<br />
		&lt;/constructor-arg&gt;<br />
	&lt;/bean&gt;</p>
<p>	&lt;!&#8211; the destination (Topic or Queue) &#8211;&gt;<br />
	&lt;bean id=&#8221;mailDestination&#8221; factory-bean=&#8221;session&#8221;<br />
		factory-method=&#8221;createQueue&#8221;&gt;<br />
		&lt;constructor-arg value=&#8221;mailqueue&#8221; /&gt;<br />
	&lt;/bean&gt;</p>
<p>&lt;!&#8211; anonymous consumer &#8211; message queue &lt;-&gt; persistence manager wiring &#8211;&gt;<br />
	&lt;bean factory-bean=&#8221;session&#8221; factory-method=&#8221;createConsumer&#8221;&gt;<br />
		&lt;constructor-arg ref=&#8221;mailDestination&#8221; /&gt;<br />
		&lt;property name=&#8221;messageListener&#8221;<br />
			ref=&#8221;passthroughPersistenceManager&#8221; /&gt;<br />
	&lt;/bean&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Strachan</title>
		<link>http://snikt.net/index.php/2007/09/18/using-apache-activemq/comment-page-1#comment-21</link>
		<dc:creator>James Strachan</dc:creator>
		<pubDate>Wed, 19 Sep 2007 08:03:38 +0000</pubDate>
		<guid isPermaLink="false">http://happiness-is-slavery.net/index.php/2007/09/18/using-apache-activemq/#comment-21</guid>
		<description>Any chance you could post your code to the user forums - from your blog post its impossible to diagnose whats going on.

http://activemq.apache.org/discussion-forums.html

It could be a mistake in your Java code etc? Also make sure you&#039;re always using the latest greatest release of ActiveMQ</description>
		<content:encoded><![CDATA[<p>Any chance you could post your code to the user forums &#8211; from your blog post its impossible to diagnose whats going on.</p>
<p><a href="http://activemq.apache.org/discussion-forums.html" rel="nofollow">http://activemq.apache.org/discussion-forums.html</a></p>
<p>It could be a mistake in your Java code etc? Also make sure you&#8217;re always using the latest greatest release of ActiveMQ</p>
]]></content:encoded>
	</item>
</channel>
</rss>
