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
2f292caa
Commit
2f292caa
authored
Aug 31, 2020
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改MQ请求尸体,防止出错
parent
ff03da02
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
MessageVo.java
...til-mq/src/main/java/com/yanzuoguang/mq/vo/MessageVo.java
+3
-3
No files found.
yzg-util-mq/src/main/java/com/yanzuoguang/mq/vo/MessageVo.java
View file @
2f292caa
...
...
@@ -108,7 +108,7 @@ public class MessageVo extends BaseVo implements InitDao {
* @param message 消息内容
* @param dedTime 过期时间
*/
public
MessageVo
(
String
exchangeNameRouteKey
,
String
message
,
long
dedTime
)
{
public
MessageVo
(
String
exchangeNameRouteKey
,
String
message
,
int
dedTime
)
{
this
(
exchangeNameRouteKey
,
exchangeNameRouteKey
,
message
,
dedTime
);
}
...
...
@@ -120,11 +120,11 @@ public class MessageVo extends BaseVo implements InitDao {
* @param message 消息内容
* @param dedTime 过期时间
*/
public
MessageVo
(
String
exchangeName
,
String
routeKey
,
String
message
,
long
dedTime
)
{
public
MessageVo
(
String
exchangeName
,
String
routeKey
,
String
message
,
int
dedTime
)
{
this
.
exchangeName
=
exchangeName
;
this
.
routeKey
=
routeKey
;
this
.
message
=
message
;
this
.
dedTime
=
(
int
)
dedTime
;
this
.
dedTime
=
dedTime
;
}
/**
...
...
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