git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@613874 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2008-01-21 13:09:38 +00:00
parent 1f2804a76a
commit 01cef910db
1 changed files with 1 additions and 1 deletions

View File

@ -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();