summaryrefslogtreecommitdiff
path: root/java/broker-core/src
diff options
context:
space:
mode:
authorKeith Wall <kwall@apache.org>2014-05-29 09:28:38 +0000
committerKeith Wall <kwall@apache.org>2014-05-29 09:28:38 +0000
commitb2809d8bec0723e4073ef53dc5ca97e90bb8684d (patch)
treee491fef9a9c0bc43f0d755ef6f77e88a11a375df /java/broker-core/src
parent6a7554a2ceb02bcc8f3f81f40d2421672aab60b9 (diff)
downloadqpid-python-b2809d8bec0723e4073ef53dc5ca97e90bb8684d.tar.gz
QPID-5791: [Java Broker] Json store should synchronise on update too
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1598231 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/broker-core/src')
-rw-r--r--java/broker-core/src/main/java/org/apache/qpid/server/store/JsonFileConfigStore.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/broker-core/src/main/java/org/apache/qpid/server/store/JsonFileConfigStore.java b/java/broker-core/src/main/java/org/apache/qpid/server/store/JsonFileConfigStore.java
index afdd3a9136..111fc72533 100644
--- a/java/broker-core/src/main/java/org/apache/qpid/server/store/JsonFileConfigStore.java
+++ b/java/broker-core/src/main/java/org/apache/qpid/server/store/JsonFileConfigStore.java
@@ -500,7 +500,7 @@ public class JsonFileConfigStore implements DurableConfigurationStore
@Override
- public void update(final boolean createIfNecessary, final ConfiguredObjectRecord... records)
+ public synchronized void update(final boolean createIfNecessary, final ConfiguredObjectRecord... records)
throws StoreException
{
if (records.length == 0)