<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.11" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Message Driven POJOs!</title>
	<link>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/</link>
	<description>The voice of SpringSource</description>
	<pubDate>Thu, 21 Aug 2008 01:28:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.11</generator>

	<item>
		<title>by: jk</title>
		<link>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-114436</link>
		<pubDate>Thu, 24 Jul 2008 19:14:13 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-114436</guid>
					<description>simple and great! kudos!!!</description>
		<content:encoded><![CDATA[<p>simple and great! kudos!!!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: olonga</title>
		<link>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60920</link>
		<pubDate>Tue, 06 Nov 2007 16:21:51 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60920</guid>
					<description>I modified your application so that it has a client and a server webapp.  It works great.
Then I modified it so that it works with JNDI, the server application does not seem to issue a reply whereas when I check the activemq mysql database, I see those messages sent from the client side.  It does not seem to work... Thanks for suggestions.
Here are my config files:
web.xml:
	
	    ActiveMQ JMS Connection Factory
	    jms/ConnectionFactory
	    org.apache.activemq.ActiveMQConnectionFactory
	    Container
	
	
	  ActiveMQ request Queue
	  jms/requestQueue
	  org.apache.activemq.command.ActiveMQQueue
	
	
	  ActiveMQ reply Queue
	  jms/replyQueue
	  org.apache.activemq.command.ActiveMQQueue
	

context.xml:
  

shared-context-jndi.xml:
	
    
      
        org.apache.activemq.jndi.ActiveMQInitialContextFactory
        &lt;!-- lets register some destinations --&gt;
        requestQueue
        replyQueue
      
    
  

  &lt;!-- look up the JMS ConnectionFactory in JNDI --&gt;
  
    
      
    
    
      java:comp/env/jms/ConnectionFactory
    
  
  
  &lt;!-- look up the Destination in JNDI --&gt;
  
    
      
    
    
      requestQueue
    
  

  
    
      
    
    
      replyQueue
    
  </description>
		<content:encoded><![CDATA[<p>I modified your application so that it has a client and a server webapp.  It works great.<br />
Then I modified it so that it works with JNDI, the server application does not seem to issue a reply whereas when I check the activemq mysql database, I see those messages sent from the client side.  It does not seem to work&#8230; Thanks for suggestions.<br />
Here are my config files:<br />
web.xml:</p>
<p>	    ActiveMQ JMS Connection Factory<br />
	    jms/ConnectionFactory<br />
	    org.apache.activemq.ActiveMQConnectionFactory<br />
	    Container</p>
<p>	  ActiveMQ request Queue<br />
	  jms/requestQueue<br />
	  org.apache.activemq.command.ActiveMQQueue</p>
<p>	  ActiveMQ reply Queue<br />
	  jms/replyQueue<br />
	  org.apache.activemq.command.ActiveMQQueue</p>
<p>context.xml:</p>
<p>shared-context-jndi.xml:</p>
<p>        org.apache.activemq.jndi.ActiveMQInitialContextFactory<br />
        <!-- lets register some destinations --><br />
        requestQueue<br />
        replyQueue</p>
<p>  <!-- look up the JMS ConnectionFactory in JNDI --></p>
<p>      java:comp/env/jms/ConnectionFactory</p>
<p>  <!-- look up the Destination in JNDI --></p>
<p>      requestQueue</p>
<p>      replyQueue</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: olonga</title>
		<link>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60894</link>
		<pubDate>Tue, 06 Nov 2007 14:56:01 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60894</guid>
					<description>[quote comment="60695"]
The configuration is documented on the ActiveMQ site: http://activemq.apache.org/tomcat.html[/quote]
I am using activemq-4.2-SNAPSHOT... and it does not seem to work..... Is there a problem with this release.</description>
		<content:encoded><![CDATA[<p>On November 5, 2007 at 7:43 pm, Mark Fisher said:</p>
<blockquote cite="http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60695">
<p>The configuration is documented on the ActiveMQ site: <a href="http://activemq.apache.org/tomcat.html" rel="nofollow">http://activemq.apache.org/tomcat.html</a></p>
</blockquote>
<p>I am using activemq-4.2-SNAPSHOT&#8230; and it does not seem to work&#8230;.. Is there a problem with this release.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Mark Fisher</title>
		<link>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60695</link>
		<pubDate>Tue, 06 Nov 2007 00:43:35 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60695</guid>
					<description>[quote post="56"]how do I configure tomcat with activemq connection factory so that I can use jndi based factory to use the queues/topics?[/quote]

The configuration is documented on the ActiveMQ site: http://activemq.apache.org/tomcat.html</description>
		<content:encoded><![CDATA[<blockquote cite="http://blog.springsource.com/main/2006/08/11/message-driven-pojos/"><p>
how do I configure tomcat with activemq connection factory so that I can use jndi based factory to use the queues/topics?</p>
</blockquote>
<p>The configuration is documented on the ActiveMQ site: <a href="http://activemq.apache.org/tomcat.html" rel="nofollow">http://activemq.apache.org/tomcat.html</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: olonga</title>
		<link>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60673</link>
		<pubDate>Mon, 05 Nov 2007 23:38:02 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60673</guid>
					<description>how do I configure tomcat with activemq connection factory so that I can use jndi based factory to use the queues/topics?</description>
		<content:encoded><![CDATA[<p>how do I configure tomcat with activemq connection factory so that I can use jndi based factory to use the queues/topics?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Yohan</title>
		<link>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60117</link>
		<pubDate>Sun, 04 Nov 2007 13:48:07 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60117</guid>
					<description>[quote post="56"]MDP's rule!! But can you explain why we need concurrent-1.3.4.jar and geronimo-spec-j2ee-management-1.0-rc4.jar on the classpath[/quote]

Seems like it is required by ActiveMQ. I got this application running with ActiveMQ 4.1 without any problem, and I didn't included those two jar files. All the classes of those two jar's were inside the ActiveMQ 4.1 distribution jar file.</description>
		<content:encoded><![CDATA[<blockquote cite="http://blog.springsource.com/main/2006/08/11/message-driven-pojos/"><p>
MDP&#039;s rule!! But can you explain why we need concurrent-1.3.4.jar and geronimo-spec-j2ee-management-1.0-rc4.jar on the classpath</p>
</blockquote>
<p>Seems like it is required by ActiveMQ. I got this application running with ActiveMQ 4.1 without any problem, and I didn&#039;t included those two jar files. All the classes of those two jar&#039;s were inside the ActiveMQ 4.1 distribution jar file.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Yohan</title>
		<link>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60044</link>
		<pubDate>Sun, 04 Nov 2007 08:25:22 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-60044</guid>
					<description>Great article !!

Is there anyway to use MDPs to communicate with components of a application through firewalls?

Thanks.</description>
		<content:encoded><![CDATA[<p>Great article !!</p>
<p>Is there anyway to use MDPs to communicate with components of a application through firewalls?</p>
<p>Thanks.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Sandra</title>
		<link>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-55644</link>
		<pubDate>Wed, 17 Oct 2007 12:55:26 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-55644</guid>
					<description>I have this example working now - by starting activeMQ from it's install folder. However, I now want to embed the start-up of it by setting .  From my understanding, if I do this, all I'd have to do is start the server and then the client. And activeMQ should be started up automatically. This isn't working for me though. Maybe someone could explain what's going on in the background and what I'm doing wrong here .  
Thanks</description>
		<content:encoded><![CDATA[<p>I have this example working now - by starting activeMQ from it&#039;s install folder. However, I now want to embed the start-up of it by setting .  From my understanding, if I do this, all I&#039;d have to do is start the server and then the client. And activeMQ should be started up automatically. This isn&#039;t working for me though. Maybe someone could explain what&#039;s going on in the background and what I&#039;m doing wrong here .<br />
Thanks
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Arun</title>
		<link>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-50202</link>
		<pubDate>Fri, 21 Sep 2007 01:57:29 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-50202</guid>
					<description>I am using websphere mq and webspehere appserver to run my spring app. I have connection factory (type com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle) configured in websphere appserver and a destination Q (type com.ibm.mq.jms.MQQueue) configured in websphere appserver.
These are exposed as jndi's to my app.

My config looks like this (doesn't work - am not sure what bits I am missing)
	
		
		
			
		
		
		
	

	
		
		
			
		
		
		
	

How do I change the above configuration to expect the JMSQueueConnectionFactoryHandle and com.ibm.mq.jms.MQQueue types? Can you please guide?</description>
		<content:encoded><![CDATA[<p>I am using websphere mq and webspehere appserver to run my spring app. I have connection factory (type com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle) configured in websphere appserver and a destination Q (type com.ibm.mq.jms.MQQueue) configured in websphere appserver.<br />
These are exposed as jndi&#039;s to my app.</p>
<p>My config looks like this (doesn&#039;t work - am not sure what bits I am missing)</p>
<p>How do I change the above configuration to expect the JMSQueueConnectionFactoryHandle and com.ibm.mq.jms.MQQueue types? Can you please guide?
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jim Morris</title>
		<link>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-48318</link>
		<pubDate>Fri, 14 Sep 2007 06:35:50 +0000</pubDate>
		<guid>http://blog.springsource.com/main/2006/08/11/message-driven-pojos/#comment-48318</guid>
					<description>Sorry quoting doesn't work...

Just replace org.activemq.message.ActiveMQQueue with org.apache.activemq.command.ActiveMQQueue
and org.activemq.ActiveMQConnectionFactory with org.apache.activemq.spring.ActiveMQConnectionFactory</description>
		<content:encoded><![CDATA[<p>Sorry quoting doesn&#039;t work&#8230;</p>
<p>Just replace org.activemq.message.ActiveMQQueue with org.apache.activemq.command.ActiveMQQueue<br />
and org.activemq.ActiveMQConnectionFactory with org.apache.activemq.spring.ActiveMQConnectionFactory
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
