Merge "update the credentials in subscribe call"
authorvarun gudisena <varuneshwar.gudisena@att.com>
Tue, 5 Feb 2019 15:35:58 +0000 (15:35 +0000)
committerGerrit Code Review <gerrit@onap.org>
Tue, 5 Feb 2019 15:35:58 +0000 (15:35 +0000)
src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java

index 2252992..c205440 100644 (file)
@@ -131,7 +131,7 @@ public class MirrorMakerAgent {
                        return false;
                }
                logger.info("Published to Topic :" + this.topicname + " Successfully");
-               response = topicUtil.subscribeTopic(topicURL, topicname, "1", response, response);
+               response = topicUtil.subscribeTopic(topicURL, topicname, "1", mechid, password);
                if (response != null && response.startsWith("ERROR:")) {
                        logger.error("Problem subscribing to topic, please verify the config " + this.topicname + " MR URL is:"
                                        + this.topicURL + " Error is:  " + response);