Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
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
YZG
yzg-util
Commits
47c02bfc
Commit
47c02bfc
authored
Nov 06, 2023
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改日志打印功能,打印更加详细的日志
parent
01dbca58
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
MessageServeServiceImpl.java
.../yanzuoguang/mq/service/impl/MessageServeServiceImpl.java
+4
-3
No files found.
yzg-util-mq/src/main/java/com/yanzuoguang/mq/service/impl/MessageServeServiceImpl.java
View file @
47c02bfc
...
...
@@ -193,7 +193,7 @@ public class MessageServeServiceImpl implements MessageServerService, Initializi
sendServerMessage
(
msg
);
}
catch
(
Exception
ex
)
{
ex
.
printStackTrace
();
Log
.
error
(
M
q
ServiceImpl
.
class
,
ex
);
Log
.
error
(
M
essageServe
ServiceImpl
.
class
,
ex
);
}
finally
{
messageSendService
.
basicAck
(
message
,
channel
);
}
...
...
@@ -235,7 +235,7 @@ public class MessageServeServiceImpl implements MessageServerService, Initializi
// 发送消息,等待下次重新发送
req
.
addPos
();
if
(!
req
.
isNext
())
{
Log
.
error
(
M
q
ServiceImpl
.
class
,
"达到最大次数,不会继续发送"
);
Log
.
error
(
M
essageServe
ServiceImpl
.
class
,
"达到最大次数,不会继续发送"
);
return
StringHelper
.
EMPTY
;
}
...
...
@@ -263,7 +263,8 @@ public class MessageServeServiceImpl implements MessageServerService, Initializi
}
}
}
catch
(
Exception
ex
)
{
Log
.
error
(
MqServiceImpl
.
class
,
ex
);
Log
.
error
(
MessageServeServiceImpl
.
class
,
ex
);
ex
.
printStackTrace
();
}
if
(
sendQueueName
.
isEmpty
())
{
...
...
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