From a584ec604e9745cc3aba3bcc3577f6a90a49595b Mon Sep 17 00:00:00 2001 From: peuter Date: Wed, 3 Sep 2014 14:30:47 +0200 Subject: [PATCH] start the broadcasters lifecyle management manually, thanks to @digitaldaniel for the tip --- .../io/cv/internal/listeners/ResourceStateChangeListener.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bundles/io/org.openhab.io.cv/src/main/java/org/openhab/io/cv/internal/listeners/ResourceStateChangeListener.java b/bundles/io/org.openhab.io.cv/src/main/java/org/openhab/io/cv/internal/listeners/ResourceStateChangeListener.java index 1497253e122..8ca53afc036 100644 --- a/bundles/io/org.openhab.io.cv/src/main/java/org/openhab/io/cv/internal/listeners/ResourceStateChangeListener.java +++ b/bundles/io/org.openhab.io.cv/src/main/java/org/openhab/io/cv/internal/listeners/ResourceStateChangeListener.java @@ -71,6 +71,9 @@ public static ConcurrentMap getMap() { public void registerItems(){ broadcaster.getBroadcasterConfig().setBroadcasterCache(new CVBroadcasterCache()); + broadcaster.getBroadcasterConfig().getBroadcasterCache().configure(broadcaster.getBroadcasterConfig()); + broadcaster.getBroadcasterConfig().getBroadcasterCache().start(); + broadcaster.getBroadcasterConfig().addFilter(new PerRequestBroadcastFilter() { @Override