mirror of https://github.com/apache/activemq.git
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@613874 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1f2804a76a
commit
01cef910db
|
@ -70,7 +70,7 @@ public class KahaTopicReferenceStore extends KahaReferenceStore implements Topic
|
||||||
throw new RuntimeException("Use addMessageReference instead");
|
throw new RuntimeException("Use addMessageReference instead");
|
||||||
}
|
}
|
||||||
|
|
||||||
public void addMessageReference(final ConnectionContext context, final MessageId messageId,
|
public synchronized void addMessageReference(final ConnectionContext context, final MessageId messageId,
|
||||||
final ReferenceData data) {
|
final ReferenceData data) {
|
||||||
final ReferenceRecord record = new ReferenceRecord(messageId.toString(), data);
|
final ReferenceRecord record = new ReferenceRecord(messageId.toString(), data);
|
||||||
final int subscriberCount = subscriberMessages.size();
|
final int subscriberCount = subscriberMessages.size();
|
||||||
|
|
Loading…
Reference in New Issue