geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hogst...@apache.org
Subject svn commit: r530512 - in /geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb3/prims: LocalSLMDBTestBean.java TestMDB.java
Date Thu, 19 Apr 2007 18:43:40 GMT
Author: hogstrom
Date: Thu Apr 19 11:43:39 2007
New Revision: 530512

URL: http://svn.apache.org/viewvc?view=rev&rev=530512
Log:
Changed Annotation for MessageDriven beans to remove the jms/ prefix.  Need to do some more
research on when we need / must specify this prefix.

Modified:
    geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb3/prims/LocalSLMDBTestBean.java
    geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb3/prims/TestMDB.java

Modified: geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb3/prims/LocalSLMDBTestBean.java
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb3/prims/LocalSLMDBTestBean.java?view=diff&rev=530512&r1=530511&r2=530512
==============================================================================
--- geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb3/prims/LocalSLMDBTestBean.java
(original)
+++ geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb3/prims/LocalSLMDBTestBean.java
Thu Apr 19 11:43:39 2007
@@ -20,7 +20,7 @@
     @Resource(name = "jms/TradeBrokerQCF")
     private ConnectionFactory queueConnectionFactory;
     
-    @Resource(name = "jms/TradeBrokerQueue")
+    @Resource(name = "TradeBrokerQueue")
     private Queue tradeBrokerQueue;
 
     /** Creates a new instance of LocalSLMDBTestBean */

Modified: geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb3/prims/TestMDB.java
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb3/prims/TestMDB.java?view=diff&rev=530512&r1=530511&r2=530512
==============================================================================
--- geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb3/prims/TestMDB.java
(original)
+++ geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb3/prims/TestMDB.java
Thu Apr 19 11:43:39 2007
@@ -5,7 +5,7 @@
 import javax.jms.Message;
 import javax.jms.MessageListener;
 
-@MessageDriven(name = "jms/TradeBrokerQueue", activationConfig =  {
+@MessageDriven(name = "TradeBrokerQueue", activationConfig =  {
         @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge"),
         @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue")
     })



Mime
View raw message