mirror of https://github.com/apache/activemq.git
record the destination of a dup in the warn message, helps diagnose
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@990158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ee4c8eeaba
commit
c458bd1a1f
|
@ -995,7 +995,7 @@ public class MessageDatabase extends ServiceSupport implements BrokerServiceAwar
|
|||
// If the message ID as indexed, then the broker asked us to
|
||||
// store a DUP
|
||||
// message. Bad BOY! Don't do it, and log a warning.
|
||||
LOG.warn("Duplicate message add attempt rejected. Message id: " + command.getMessageId());
|
||||
LOG.warn("Duplicate message add attempt rejected. Destination: " + command.getDestination().getName() + ", Message id: " + command.getMessageId());
|
||||
// TODO: consider just rolling back the tx.
|
||||
sd.messageIdIndex.put(tx, command.getMessageId(), previous);
|
||||
sd.locationIndex.remove(tx, location);
|
||||
|
|
Loading…
Reference in New Issue