git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@499169 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-01-23 22:38:12 +00:00
parent 1a448be825
commit 21391ceab4
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public class DurableTopicSubscription extends PrefetchSubscription {
synchronized public void gc() {
}
public void add(ConnectionContext context, Destination destination) throws Exception {
public synchronized void add(ConnectionContext context, Destination destination) throws Exception {
super.add(context, destination);
destinations.put(destination.getActiveMQDestination(), destination);
if( active || keepDurableSubsActive ) {