activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r1410767 - /activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/DestinationView.java
Date Sat, 17 Nov 2012 19:52:23 GMT
Author: rajdavies
Date: Sat Nov 17 19:52:22 2012
New Revision: 1410767

URL: http://svn.apache.org/viewvc?rev=1410767&view=rev
Log:
Fix for https://issues.apache.org/jira/browse/AMQ-4177

Modified:
    activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/DestinationView.java

Modified: activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/DestinationView.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/DestinationView.java?rev=1410767&r1=1410766&r2=1410767&view=diff
==============================================================================
--- activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/DestinationView.java
(original)
+++ activemq/trunk/activemq-broker/src/main/java/org/apache/activemq/broker/jmx/DestinationView.java
Sat Nov 17 19:52:22 2012
@@ -206,6 +206,7 @@ public class DestinationView implements 
         for (int i = 0; i < messages.length; i++) {
             try {
                 Message message = messages[i];
+                message.setReadOnlyBody(true);
                 if (selectorExpression == null) {
                     answer.add(message);
                 } else {



Mime
View raw message