Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YeeAmosFireAutoSysRoot
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
station
YeeAmosFireAutoSysRoot
Commits
064cdd91
Commit
064cdd91
authored
May 27, 2022
by
maoying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改向中心级推送消息格式
parent
96b22d7e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ContingencyAction.java
...m/yeejoin/amos/fas/business/action/ContingencyAction.java
+2
-2
No files found.
YeeAmosFireAutoSysService/src/main/java/com/yeejoin/amos/fas/business/action/ContingencyAction.java
View file @
064cdd91
...
...
@@ -297,9 +297,9 @@ public class ContingencyAction implements CustomerAction {
// 将预案的确认消息发送至中心级
if
(
"CONFIRM"
.
equals
(
ro
.
getConfirm
()))
{
String
msg
=
JSON
.
toJSONString
(
event
);
log
.
info
(
"RocketMQ发送的主题是: "
+
rocketTopic
+
", 消息体是: "
+
msg
+
"!"
);
log
.
info
(
"RocketMQ发送的主题是: "
+
rocketTopic
+
", 消息体是: "
+
toipResponse
.
toJsonStr
()
+
"!"
);
try
{
rocketMQService
.
sendMsg
(
rocketTopic
,
"plan_process"
,
msg
);
rocketMQService
.
sendMsg
(
rocketTopic
,
"plan_process"
,
toipResponse
);
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);
throw
new
RuntimeException
(
"RocketMQ消息发送失败!"
);
...
...
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