diff options
author | sunil unnava <sunil.unnava@att.com> | 2019-02-04 17:55:00 -0500 |
---|---|---|
committer | sunil unnava <sunil.unnava@att.com> | 2019-02-04 17:55:19 -0500 |
commit | 82136c1fd201cf815cdd85a0f02e8dd6316d6ec7 (patch) | |
tree | 6a7b7f9efaa7b215a10b657ca30564f4afb518d3 | |
parent | 62fa4be52b40c4587d2e53201ecf1f63bf424287 (diff) |
update the credentials in subscribe call
Issue-ID: DMAAP-909
Change-Id: Ib27e6b3341376885a802e6702e64a5029da29356
Signed-off-by: sunil unnava <sunil.unnava@att.com>
-rw-r--r-- | src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java index 304a067..61515bc 100644 --- a/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java +++ b/src/main/java/org/onap/dmaap/mr/dmaapMMAgent/MirrorMakerAgent.java @@ -139,7 +139,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); |