|
@@ -54,7 +54,7 @@ public class SysConstants implements ApplicationContextAware {
|
|
|
SysConstants.hostName = SysConstants.hostName.trim().replaceAll("\\s","");
|
|
|
}
|
|
|
log.error("从文件({})中获取服务器名称:{}", filePath,hostName);
|
|
|
- initIsResidenceService();
|
|
|
+ String queueName = initIsResidenceService();
|
|
|
log.info("initIsResidenceService--hostName:{},queueName:{}",SysConstants.hostName,queueName);
|
|
|
} catch (Exception e) {
|
|
|
log.error("从文件中获取服务器名称失败,文件路径{}", filePath);
|