[jboss-cvs] JBoss Messaging SVN: r2544 - trunk/tests/src/org/jboss/test/messaging/jms.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Mar 12 14:32:23 EDT 2007


Author: clebert.suconic at jboss.com
Date: 2007-03-12 14:32:23 -0400 (Mon, 12 Mar 2007)
New Revision: 2544

Modified:
   trunk/tests/src/org/jboss/test/messaging/jms/QueueTest.java
Log:
http://jira.jboss.org/jira/browse/JBMESSAGING-899 - minor change (comment)

Modified: trunk/tests/src/org/jboss/test/messaging/jms/QueueTest.java
===================================================================
--- trunk/tests/src/org/jboss/test/messaging/jms/QueueTest.java	2007-03-12 18:29:42 UTC (rev 2543)
+++ trunk/tests/src/org/jboss/test/messaging/jms/QueueTest.java	2007-03-12 18:32:23 UTC (rev 2544)
@@ -149,7 +149,8 @@
 
          Session s2 = conn2.createSession(true, Session.AUTO_ACKNOWLEDGE);
 
-         // these next three lines are an anti-pattern but they shouldn't loose any messages
+         // Create a consumer, start the session, close the consumer..
+         // This shouldn't cause any message to be lost
          MessageConsumer c2 = s2.createConsumer(queue);
          conn2.start();
          c2.close();




More information about the jboss-cvs-commits mailing list