INT-1940 changed locks map to have correlationId -> new Object()
This commit is contained in:
@@ -247,7 +247,7 @@ public class CorrelatingMessageHandler extends AbstractMessageHandler implements
|
||||
|
||||
private Object getLock(Object correlationKey) {
|
||||
synchronized(correlationLocksMonitor){
|
||||
locks.putIfAbsent(correlationKey, correlationKey);
|
||||
locks.putIfAbsent(correlationKey, new Object());
|
||||
return locks.get(correlationKey);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user