From cffa55c17447d2aafae34b4121d4151aeadc6a10 Mon Sep 17 00:00:00 2001
From: Wouter Klijn <klijn@astron.nl>
Date: Fri, 27 Mar 2015 13:37:30 +0000
Subject: [PATCH] Task #7508: Update pipeline control to use new msg bus
 interface

---
 CEP/Pipeline/framework/lofarpipe/support/control.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CEP/Pipeline/framework/lofarpipe/support/control.py b/CEP/Pipeline/framework/lofarpipe/support/control.py
index 2bf1a56fca5..0c77dff71de 100644
--- a/CEP/Pipeline/framework/lofarpipe/support/control.py
+++ b/CEP/Pipeline/framework/lofarpipe/support/control.py
@@ -134,7 +134,7 @@ class control(StatefulRecipe):
         except:
           self.feedback_method = "messagebus"
 
-        if self.feedback_method == "messagebus" and not lofar.messagebus.msgbus.enabled:
+        if self.feedback_method == "messagebus" and not lofar.messagebus.msgbus.MESSAGING_ENABLED:
           self.logger.error("Feedback over messagebus requested, but messagebus support is not enabled or functional")
           return 1
 
-- 
GitLab