mirror of https://github.com/apache/activemq.git
resolve potential concurrent mod of LinkedHashMap, reads can modify as map is access ordered
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1036448 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eb034b4bc9
commit
3596f3706f
|
@ -64,7 +64,7 @@ class ConnectionAudit {
|
|||
return false;
|
||||
}
|
||||
|
||||
protected void rollbackDuplicate(ActiveMQDispatcher dispatcher, Message message) {
|
||||
protected synchronized void rollbackDuplicate(ActiveMQDispatcher dispatcher, Message message) {
|
||||
if (checkForDuplicates && message != null) {
|
||||
ActiveMQDestination destination = message.getDestination();
|
||||
if (destination != null) {
|
||||
|
|
Loading…
Reference in New Issue