[jboss-cvs] JBoss Messaging SVN: r8331 - branches/JBMESSAGING_1878/src/main/org/jboss/jms/client/container.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jun 13 08:31:16 EDT 2011


Author: gaohoward
Date: 2011-06-13 08:31:16 -0400 (Mon, 13 Jun 2011)
New Revision: 8331

Modified:
   branches/JBMESSAGING_1878/src/main/org/jboss/jms/client/container/ClientConsumer.java
Log:
fix test failure



Modified: branches/JBMESSAGING_1878/src/main/org/jboss/jms/client/container/ClientConsumer.java
===================================================================
--- branches/JBMESSAGING_1878/src/main/org/jboss/jms/client/container/ClientConsumer.java	2011-06-13 08:32:08 UTC (rev 8330)
+++ branches/JBMESSAGING_1878/src/main/org/jboss/jms/client/container/ClientConsumer.java	2011-06-13 12:31:16 UTC (rev 8331)
@@ -728,6 +728,9 @@
    {
       synchronized (mainLock)
       {
+         //because this is local re-delivery, we update the source to allow to put into the Ack list again.
+         proxy.setSource(this.messageSource);
+         
          buffer.addFirst(proxy, proxy.getJMSPriority());
          
          consumeCount--;



More information about the jboss-cvs-commits mailing list