mirror of https://github.com/apache/activemq.git
resolve: https://issues.apache.org/activemq/browse/AMQ-2836 - copy message before logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@965517 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d85895666a
commit
607f1ef669
|
@ -271,7 +271,7 @@ public class LoggingBrokerPlugin extends BrokerPluginSupport {
|
|||
@Override
|
||||
public void send(ProducerBrokerExchange producerExchange, Message messageSend) throws Exception {
|
||||
if (isLogAll() || isLogProducerEvents()) {
|
||||
LOG.info("Sending message : " + messageSend);
|
||||
LOG.info("Sending message : " + messageSend.copy());
|
||||
}
|
||||
super.send(producerExchange, messageSend);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue