Migrating caches to TRANSACTIONAL Caches and enabled use1PcForAutoCommitTransactions.
[controller.git] / opendaylight / samples / simpleforwarding / src / main / java / org / opendaylight / controller / samples / simpleforwarding / internal / SimpleForwardingImpl.java
index 7f4c98a6483969fabfd14f6bc54219873ae00cd8..02b5cffe04696df6f9f811e4d736ee04a4d293a8 100644 (file)
@@ -158,7 +158,7 @@ public class SimpleForwardingImpl implements IfNewHostNotify,
 
         try {
             clusterContainerService.createCache("forwarding.ipswitch.rules",
-                    EnumSet.of(IClusterServices.cacheMode.NON_TRANSACTIONAL));
+                    EnumSet.of(IClusterServices.cacheMode.TRANSACTIONAL));
         } catch (CacheExistException cee) {
             log.error("\nCache already exists - destroy and recreate if needed");
         } catch (CacheConfigException cce) {