activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajdav...@apache.org
Subject svn commit: r828645 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/StatisticsBroker.java
Date Thu, 22 Oct 2009 10:37:52 GMT
Author: rajdavies
Date: Thu Oct 22 10:37:51 2009
New Revision: 828645

URL: http://svn.apache.org/viewvc?rev=828645&view=rev
Log:
Fix for https://issues.apache.org/activemq/browse/AMQ-2461

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/StatisticsBroker.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/StatisticsBroker.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/StatisticsBroker.java?rev=828645&r1=828644&r2=828645&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/StatisticsBroker.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/plugin/StatisticsBroker.java
Thu Oct 22 10:37:51 2009
@@ -104,6 +104,7 @@
                         statsMessage.setDouble("minEnqueueTime", stats.getProcessTime().getMinTime());
                         statsMessage.setLong("consumerCount", stats.getConsumers().getCount());
                         statsMessage.setLong("producerCount", stats.getProducers().getCount());
+                        statsMessage.setJMSCorrelationID(messageSend.getCorrelationId());
                         sendStats(producerExchange.getConnectionContext(), statsMessage,
replyTo);
                     }
                 }
@@ -154,6 +155,7 @@
                 File file = brokerService.getDataDirectoryFile();
                 answer = file != null ? file.getCanonicalPath() : "";
                 statsMessage.setString("dataDirectory", answer);
+                statsMessage.setJMSCorrelationID(messageSend.getCorrelationId());
                 sendStats(producerExchange.getConnectionContext(), statsMessage, replyTo);
             } else {
                 super.send(producerExchange, messageSend);



Mime
View raw message