activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r384255 - /incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
Date Wed, 08 Mar 2006 16:27:17 GMT
Author: chirino
Date: Wed Mar  8 08:27:16 2006
New Revision: 384255

URL: http://svn.apache.org/viewcvs?rev=384255&view=rev
Log:
Fix so that we can get the messages.

Modified:
    incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java

Modified: incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
URL: http://svn.apache.org/viewcvs/incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java?rev=384255&r1=384254&r2=384255&view=diff
==============================================================================
--- incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
(original)
+++ incubator/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/broker/region/Queue.java
Wed Mar  8 08:27:16 2006
@@ -432,6 +432,7 @@
             for (Iterator iter = messages.iterator(); iter.hasNext();) {
                 try {
                     MessageReference r = (MessageReference) iter.next();
+                    r.incrementReferenceCount();
                     try {
                         Message m = r.getMessage();
                         if (m != null) {



Mime
View raw message