<?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: Message Driven POJOs!</title>
	<atom:link href="http://blog.springsource.com/2006/08/11/message-driven-pojos/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.springsource.com/2006/08/11/message-driven-pojos/</link>
	<description>The voice of SpringSource</description>
	<lastBuildDate>Wed, 17 Mar 2010 01:53:19 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Vineet</title>
		<link>http://blog.springsource.com/2006/08/11/message-driven-pojos/comment-page-1/#comment-167562</link>
		<dc:creator>Vineet</dc:creator>
		<pubDate>Mon, 13 Jul 2009 06:15:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/08/11/message-driven-pojos/#comment-167562</guid>
		<description>Hi ,

This is one great example on JMS Spring. But i do have one error. It is not able to establish a connection with ReplyNotifier and show ---

Caused by: java.lang.NoSuchMethodException: blog.mdp.ReplyNotifier.notifyMe(blog.mdp.RegistrationRequest) 

So could you please help me with this?</description>
		<content:encoded><![CDATA[<p>Hi ,</p>
<p>This is one great example on JMS Spring. But i do have one error. It is not able to establish a connection with ReplyNotifier and show &#8212;</p>
<p>Caused by: java.lang.NoSuchMethodException: blog.mdp.ReplyNotifier.notifyMe(blog.mdp.RegistrationRequest) </p>
<p>So could you please help me with this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mohan</title>
		<link>http://blog.springsource.com/2006/08/11/message-driven-pojos/comment-page-1/#comment-167318</link>
		<dc:creator>mohan</dc:creator>
		<pubDate>Wed, 17 Jun 2009 08:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/08/11/message-driven-pojos/#comment-167318</guid>
		<description>Hi,
This is Mohan

if i run the activemq server,i got this exception, plz help me..

===================================================================
D:\activemq-3.2.2\bin&gt;activemq
ActiveMQ Message Broker (http://activemq.org/)

Loading Mesaage Broker from activemq.xml on the CLASSPATH
Exception in thread &quot;main&quot; javax.xml.transform.TransformerFactoryConfigurationEr
ror: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
        at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
        at org.activemq.spring.ActiveMQBeanDefinitionReader.createTransformer(Ac
tiveMQBeanDefinitionReader.java:62)
        at org.activemq.spring.ActiveMQBeanDefinitionReader.transformDocument(Ac
tiveMQBeanDefinitionReader.java:94)
        at org.activemq.spring.ActiveMQBeanDefinitionReader.registerBeanDefiniti
ons(ActiveMQBeanDefinitionReader.java:53)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea
nDefinitions(XmlBeanDefinitionReader.java:155)
        at org.activemq.spring.ActiveMQBeanFactory.(ActiveMQBeanFactory.ja
va:89)
        at org.activemq.spring.ActiveMQBeanFactory.(ActiveMQBeanFactory.ja
va:60)
        at org.activemq.spring.SpringBrokerContainerFactory.createBrokerContaine
r(SpringBrokerContainerFactory.java:86)
        at org.activemq.spring.Main.main(Main.java:71)</description>
		<content:encoded><![CDATA[<p>Hi,<br />
This is Mohan</p>
<p>if i run the activemq server,i got this exception, plz help me..</p>
<p>===================================================================<br />
D:\activemq-3.2.2\bin&gt;activemq<br />
ActiveMQ Message Broker (<a href="http://activemq.org/" rel="nofollow">http://activemq.org/</a>)</p>
<p>Loading Mesaage Broker from activemq.xml on the CLASSPATH<br />
Exception in thread &#034;main&#034; javax.xml.transform.TransformerFactoryConfigurationEr<br />
ror: Provider org.apache.xalan.processor.TransformerFactoryImpl not found<br />
        at javax.xml.transform.TransformerFactory.newInstance(Unknown Source)<br />
        at org.activemq.spring.ActiveMQBeanDefinitionReader.createTransformer(Ac<br />
tiveMQBeanDefinitionReader.java:62)<br />
        at org.activemq.spring.ActiveMQBeanDefinitionReader.transformDocument(Ac<br />
tiveMQBeanDefinitionReader.java:94)<br />
        at org.activemq.spring.ActiveMQBeanDefinitionReader.registerBeanDefiniti<br />
ons(ActiveMQBeanDefinitionReader.java:53)<br />
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBea<br />
nDefinitions(XmlBeanDefinitionReader.java:155)<br />
        at org.activemq.spring.ActiveMQBeanFactory.(ActiveMQBeanFactory.ja<br />
va:89)<br />
        at org.activemq.spring.ActiveMQBeanFactory.(ActiveMQBeanFactory.ja<br />
va:60)<br />
        at org.activemq.spring.SpringBrokerContainerFactory.createBrokerContaine<br />
r(SpringBrokerContainerFactory.java:86)<br />
        at org.activemq.spring.Main.main(Main.java:71)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Spring Recipes: A Problem-Solution Approach &#171; Pramatr Blog</title>
		<link>http://blog.springsource.com/2006/08/11/message-driven-pojos/comment-page-1/#comment-146559</link>
		<dc:creator>Spring Recipes: A Problem-Solution Approach &#171; Pramatr Blog</dc:creator>
		<pubDate>Tue, 17 Feb 2009 21:44:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/08/11/message-driven-pojos/#comment-146559</guid>
		<description>[...] simplify sending, receiving, and listening to JMS messages. This introduces a powerful concept of message-driven POJOsfor those who like the concept of message-driven beans (MDBs) but don&#8217;t want the restrictions [...]</description>
		<content:encoded><![CDATA[<p>[...] simplify sending, receiving, and listening to JMS messages. This introduces a powerful concept of message-driven POJOsfor those who like the concept of message-driven beans (MDBs) but don&#039;t want the restrictions [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hugberry</title>
		<link>http://blog.springsource.com/2006/08/11/message-driven-pojos/comment-page-1/#comment-127755</link>
		<dc:creator>hugberry</dc:creator>
		<pubDate>Wed, 05 Nov 2008 17:45:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/08/11/message-driven-pojos/#comment-127755</guid>
		<description>oops.. missing the detail, here it is:







</description>
		<content:encoded><![CDATA[<p>oops.. missing the detail, here it is:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hugberry</title>
		<link>http://blog.springsource.com/2006/08/11/message-driven-pojos/comment-page-1/#comment-127573</link>
		<dc:creator>hugberry</dc:creator>
		<pubDate>Mon, 03 Nov 2008 22:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/08/11/message-driven-pojos/#comment-127573</guid>
		<description>Thanks for someone pointing to me this article http://activemq.apache.org/jmstemplate-gotchas.html


I am able to resolve the issues and getting a significant gain in performance by doing this:


    &lt;!--  &gt;--&gt;bean id=&quot;connectionFactory&quot; class=&quot;org.apache.activemq.ActiveMQConnectionFactory&quot;&gt;
        
    
    
    
  	  
  		
    		
    	
      
    </description>
		<content:encoded><![CDATA[<p>Thanks for someone pointing to me this article <a href="http://activemq.apache.org/jmstemplate-gotchas.html" rel="nofollow">http://activemq.apache.org/jmstemplate-gotchas.html</a></p>
<p>I am able to resolve the issues and getting a significant gain in performance by doing this:</p>
<p>    <!--  &gt;-->bean id=&#034;connectionFactory&#034; class=&#034;org.apache.activemq.ActiveMQConnectionFactory&#034;&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hugberry</title>
		<link>http://blog.springsource.com/2006/08/11/message-driven-pojos/comment-page-1/#comment-127567</link>
		<dc:creator>hugberry</dc:creator>
		<pubDate>Mon, 03 Nov 2008 19:28:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/08/11/message-driven-pojos/#comment-127567</guid>
		<description>Great and simple article to follow.  I tried it on Spring 2.5.5 and Apache Active MQ 5.1 and it works from the example above. Note that the class name has changed to org.apache.activemq.command.ActiveMQQueue and org.apache.activemq.ActiveMQConnectionFactory.

I modifIED the RegistrationConsole.java to test sending 1 million messages in a loop, but I got the following exception after hundreds of messages.  

Exception in thread &quot;main&quot; org.springframework.jms.UncategorizedJmsException: Un
categorized exception occured during JMS processing; nested exception is javax.j
ms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason:
 java.net.BindException: Address already in use: connect; nested exception is ja
va.net.BindException: Address already in use: connect
        at org.springframework.jms.support.JmsUtils.convertJmsAccessException(Jm
sUtils.java:292)
        at org.springframework.jms.support.JmsAccessor.convertJmsAccessException
(JmsAccessor.java:168)
        at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474
)
        at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:539)
        at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.j
ava:617)
        at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.j
ava:609)
        at blog.mdp.RegistrationConsole.main(RegistrationConsole.java:32)
Caused by: javax.jms.JMSException: Could not connect to broker URL: tcp://localh
ost:61616. Reason: java.net.BindException: Address already in use: connect
        at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSuppo
rt.java:35)
        at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio
n(ActiveMQConnectionFactory.java:278)
        at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio
n(ActiveMQConnectionFactory.java:222)
        at org.apache.activemq.ActiveMQConnectionFactory.createConnection(Active
MQConnectionFactory.java:170)
        at org.springframework.jms.support.JmsAccessor.createConnection(JmsAcces
sor.java:184)
        at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:461
)
        ... 4 more
Caused by: java.net.BindException: Address already in use: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.j
ava:414)
        at org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.j
ava:380)
        at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:50)

        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.j
ava:57)
        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.j
ava:57)
        at org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNe
gotiator.java:72)
        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.j
ava:57)
        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.j
ava:57)
        at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio
n(ActiveMQConnectionFactory.java:258)
        ... 8 more</description>
		<content:encoded><![CDATA[<p>Great and simple article to follow.  I tried it on Spring 2.5.5 and Apache Active MQ 5.1 and it works from the example above. Note that the class name has changed to org.apache.activemq.command.ActiveMQQueue and org.apache.activemq.ActiveMQConnectionFactory.</p>
<p>I modifIED the RegistrationConsole.java to test sending 1 million messages in a loop, but I got the following exception after hundreds of messages.  </p>
<p>Exception in thread &#034;main&#034; org.springframework.jms.UncategorizedJmsException: Un<br />
categorized exception occured during JMS processing; nested exception is javax.j<br />
ms.JMSException: Could not connect to broker URL: tcp://localhost:61616. Reason:<br />
 java.net.BindException: Address already in use: connect; nested exception is ja<br />
va.net.BindException: Address already in use: connect<br />
        at org.springframework.jms.support.JmsUtils.convertJmsAccessException(Jm<br />
sUtils.java:292)<br />
        at org.springframework.jms.support.JmsAccessor.convertJmsAccessException<br />
(JmsAccessor.java:168)<br />
        at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:474<br />
)<br />
        at org.springframework.jms.core.JmsTemplate.send(JmsTemplate.java:539)<br />
        at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.j<br />
ava:617)<br />
        at org.springframework.jms.core.JmsTemplate.convertAndSend(JmsTemplate.j<br />
ava:609)<br />
        at blog.mdp.RegistrationConsole.main(RegistrationConsole.java:32)<br />
Caused by: javax.jms.JMSException: Could not connect to broker URL: tcp://localh<br />
ost:61616. Reason: java.net.BindException: Address already in use: connect<br />
        at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSuppo<br />
rt.java:35)<br />
        at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio<br />
n(ActiveMQConnectionFactory.java:278)<br />
        at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio<br />
n(ActiveMQConnectionFactory.java:222)<br />
        at org.apache.activemq.ActiveMQConnectionFactory.createConnection(Active<br />
MQConnectionFactory.java:170)<br />
        at org.springframework.jms.support.JmsAccessor.createConnection(JmsAcces<br />
sor.java:184)<br />
        at org.springframework.jms.core.JmsTemplate.execute(JmsTemplate.java:461<br />
)<br />
        &#8230; 4 more<br />
Caused by: java.net.BindException: Address already in use: connect<br />
        at java.net.PlainSocketImpl.socketConnect(Native Method)<br />
        at java.net.PlainSocketImpl.doConnect(Unknown Source)<br />
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)<br />
        at java.net.PlainSocketImpl.connect(Unknown Source)<br />
        at java.net.SocksSocketImpl.connect(Unknown Source)<br />
        at java.net.Socket.connect(Unknown Source)<br />
        at org.apache.activemq.transport.tcp.TcpTransport.connect(TcpTransport.j<br />
ava:414)<br />
        at org.apache.activemq.transport.tcp.TcpTransport.doStart(TcpTransport.j<br />
ava:380)<br />
        at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:50)</p>
<p>        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.j<br />
ava:57)<br />
        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.j<br />
ava:57)<br />
        at org.apache.activemq.transport.WireFormatNegotiator.start(WireFormatNe<br />
gotiator.java:72)<br />
        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.j<br />
ava:57)<br />
        at org.apache.activemq.transport.TransportFilter.start(TransportFilter.j<br />
ava:57)<br />
        at org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnectio<br />
n(ActiveMQConnectionFactory.java:258)<br />
        &#8230; 8 more</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jk</title>
		<link>http://blog.springsource.com/2006/08/11/message-driven-pojos/comment-page-1/#comment-114436</link>
		<dc:creator>jk</dc:creator>
		<pubDate>Thu, 24 Jul 2008 19:14:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.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/2006/08/11/message-driven-pojos/comment-page-1/#comment-60920</link>
		<dc:creator>olonga</dc:creator>
		<pubDate>Tue, 06 Nov 2007 16:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.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/2006/08/11/message-driven-pojos/comment-page-1/#comment-60894</link>
		<dc:creator>olonga</dc:creator>
		<pubDate>Tue, 06 Nov 2007 14:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/08/11/message-driven-pojos/#comment-60894</guid>
		<description>[quote comment=&quot;60695&quot;]
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>[quote comment="60695"]<br />
The configuration is documented on the ActiveMQ site: <a href="http://activemq.apache.org/tomcat.html/quote" rel="nofollow">http://activemq.apache.org/tomcat.html/quote</a><br />
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/2006/08/11/message-driven-pojos/comment-page-1/#comment-60695</link>
		<dc:creator>Mark Fisher</dc:creator>
		<pubDate>Tue, 06 Nov 2007 00:43:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.interface21.com/main/2006/08/11/message-driven-pojos/#comment-60695</guid>
		<description>[quote post=&quot;56&quot;]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[<p>[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]</p>
<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>
</channel>
</rss>
