Exception test Fix
[nonrtric.git] / policy-agent / src / main / java / org / oransc / policyagent / dmaap / DmaapMessageConsumer.java
index fd42104..c132fa2 100644 (file)
@@ -21,8 +21,6 @@
 
 package org.oransc.policyagent.dmaap;
 
-import java.util.Properties;
-
 /**
  * The Dmaap consumer which has the base methods to be implemented by any class which implements this interface
  *
@@ -34,7 +32,7 @@ public interface DmaapMessageConsumer {
      *
      * @param properties
      */
-    public void init(Properties properties);
+    public void init();
 
     /**
      * This method process the message and call the respective Controller
@@ -51,11 +49,6 @@ public interface DmaapMessageConsumer {
      */
     public boolean isAlive();
 
-    /**
-     * To Stop the DMAAP Listener
-     */
-    public void stopConsumer();
-
     /**
      * It's a infinite loop run every configured seconds to fetch the message from DMAAP. This method can be stop by
      * setting the alive flag to false