geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hogst...@apache.org
Subject svn commit: r554960 - /geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb/TradeBean.java
Date Tue, 10 Jul 2007 14:23:02 GMT
Author: hogstrom
Date: Tue Jul 10 07:23:01 2007
New Revision: 554960

URL: http://svn.apache.org/viewvc?view=rev&rev=554960
Log:
Tweaked names of jms elements to use the geronimo/ space as there appears to be an error in
where some elements are bound in the JNDI tree

Modified:
    geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb/TradeBean.java

Modified: geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb/TradeBean.java
URL: http://svn.apache.org/viewvc/geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb/TradeBean.java?view=diff&rev=554960&r1=554959&r2=554960
==============================================================================
--- geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb/TradeBean.java
(original)
+++ geronimo/daytrader/trunk/modules/ejb/src/main/java/org/apache/geronimo/samples/daytrader/ejb/TradeBean.java
Tue Jul 10 07:23:01 2007
@@ -1046,8 +1046,8 @@
 			{
 				qConnFactory = (ConnectionFactory) ic.lookup("java:comp/env/jms/QueueConnectionFactory");
                 tConnFactory = (ConnectionFactory) ic.lookup("java:comp/env/jms/TopicConnectionFactory");
-				streamerTopic = (Topic) ic.lookup("java:comp/env/jms/TradeStreamerTopic");
-                brokerQueue = (Queue) ic.lookup("java:comp/env/jms/TradeBrokerQueue");
+				streamerTopic = (Topic) ic.lookup("java:comp/geronimo/env/jms/TradeStreamerTopic");
+                brokerQueue = (Queue) ic.lookup("java:comp/geronimo/env/jms/TradeBrokerQueue");
 			}
 			catch (Exception e)
 			{



Mime
View raw message