Skip to content

Commit

Permalink
[ROCKETMQ-153][HOTFIX] Fetch name server address dynamically.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouxinyu committed Mar 24, 2017
1 parent 4df3155 commit fa85abc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public void start() throws MQClientException {
this.serviceState = ServiceState.START_FAILED;
// If not specified,looking address from name server
if (null == this.clientConfig.getNamesrvAddr()) {
this.clientConfig.setNamesrvAddr(this.mQClientAPIImpl.fetchNameServerAddr());
this.mQClientAPIImpl.fetchNameServerAddr();
}
// Start request-response channel
this.mQClientAPIImpl.start();
Expand Down

0 comments on commit fa85abc

Please sign in to comment.