Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-new-platform
Commits
72010a1c
Commit
72010a1c
authored
Dec 13, 2023
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决设备下发消息
parent
57e45695
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
device-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/DeviceComsumersRegisterService.java
...on/applicationservice/DeviceComsumersRegisterService.java
+7
-1
No files found.
device-manager/src/main/java/com/mortals/xhx/daemon/applicationservice/DeviceComsumersRegisterService.java
View file @
72010a1c
...
...
@@ -10,6 +10,7 @@ import com.mortals.xhx.module.device.model.DeviceEntity;
import
com.mortals.xhx.module.device.service.DeviceService
;
import
com.mortals.xhx.module.platform.service.PlatformService
;
import
com.mortals.xhx.module.product.service.ProductService
;
import
com.mortals.xhx.thread.DeviceDownMsgThread
;
import
com.mortals.xhx.thread.DeviceUpdateComsumerThread
;
import
com.mortals.xhx.thread.SendThirdPartyThread
;
import
lombok.extern.slf4j.Slf4j
;
...
...
@@ -46,6 +47,8 @@ public class DeviceComsumersRegisterService implements IApplicationStartedServic
private
DeviceUpdateComsumerThread
deviceUpdateComsumerThread
;
@Autowired
private
SendThirdPartyThread
sendThirdPartyThread
;
@Autowired
private
DeviceDownMsgThread
deviceDownMsgThread
;
@Override
public
void
start
()
{
...
...
@@ -53,8 +56,11 @@ public class DeviceComsumersRegisterService implements IApplicationStartedServic
sendTaskThreadPool
.
init
(
20
);
log
.
info
(
"设备更新消费线程启动"
);
deviceUpdateComsumerThread
.
start
();
log
.
info
(
"
设备更新消费
线程启动"
);
log
.
info
(
"
第三方发送
线程启动"
);
sendThirdPartyThread
.
start
();
log
.
info
(
"消息下发发送线程启动"
);
deviceDownMsgThread
.
start
();
log
.
info
(
"服务端消息队列初始化服务开始.."
);
deviceService
.
find
(
new
DeviceEntity
())
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment