mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@828645 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
41ccbc50d4
commit
592e18ea9b
|
@ -104,6 +104,7 @@ public class StatisticsBroker extends BrokerFilter {
|
||||||
statsMessage.setDouble("minEnqueueTime", stats.getProcessTime().getMinTime());
|
statsMessage.setDouble("minEnqueueTime", stats.getProcessTime().getMinTime());
|
||||||
statsMessage.setLong("consumerCount", stats.getConsumers().getCount());
|
statsMessage.setLong("consumerCount", stats.getConsumers().getCount());
|
||||||
statsMessage.setLong("producerCount", stats.getProducers().getCount());
|
statsMessage.setLong("producerCount", stats.getProducers().getCount());
|
||||||
|
statsMessage.setJMSCorrelationID(messageSend.getCorrelationId());
|
||||||
sendStats(producerExchange.getConnectionContext(), statsMessage, replyTo);
|
sendStats(producerExchange.getConnectionContext(), statsMessage, replyTo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -154,6 +155,7 @@ public class StatisticsBroker extends BrokerFilter {
|
||||||
File file = brokerService.getDataDirectoryFile();
|
File file = brokerService.getDataDirectoryFile();
|
||||||
answer = file != null ? file.getCanonicalPath() : "";
|
answer = file != null ? file.getCanonicalPath() : "";
|
||||||
statsMessage.setString("dataDirectory", answer);
|
statsMessage.setString("dataDirectory", answer);
|
||||||
|
statsMessage.setJMSCorrelationID(messageSend.getCorrelationId());
|
||||||
sendStats(producerExchange.getConnectionContext(), statsMessage, replyTo);
|
sendStats(producerExchange.getConnectionContext(), statsMessage, replyTo);
|
||||||
} else {
|
} else {
|
||||||
super.send(producerExchange, messageSend);
|
super.send(producerExchange, messageSend);
|
||||||
|
|
Loading…
Reference in New Issue