Skip to content

Commit

Permalink
Fix hard-coded topic/subscription config file path.
Browse files Browse the repository at this point in the history
  • Loading branch information
lizhanhui committed Jan 4, 2017
1 parent b421d48 commit 920dd31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ public String encode() {

@Override
public String configFilePath() {
//return BrokerPathConfigHelper.getSubscriptionGroupPath(this.brokerController.getMessageStoreConfig().getStorePathRootDir());
return BrokerPathConfigHelper.getSubscriptionGroupPath(System.getProperty("user.home") + File.separator + "store");
return BrokerPathConfigHelper.getSubscriptionGroupPath(this.brokerController.getMessageStoreConfig()
.getStorePathRootDir());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,8 @@ public String encode() {

@Override
public String configFilePath() {
// return BrokerPathConfigHelper.getTopicConfigPath(this.brokerController.getMessageStoreConfig()
// .getStorePathRootDir());
return BrokerPathConfigHelper.getTopicConfigPath(System.getProperty("user.home") + File.separator + "store");
return BrokerPathConfigHelper.getTopicConfigPath(this.brokerController.getMessageStoreConfig()
.getStorePathRootDir());
}

@Override
Expand Down

0 comments on commit 920dd31

Please sign in to comment.