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
903c08a6
Commit
903c08a6
authored
May 07, 2019
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消除成功接收处理
parent
84fcd60c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
MqServiceImpl.java
...n/java/com/yanzuoguang/mq/service/impl/MqServiceImpl.java
+5
-0
No files found.
yzg-util-mq/src/main/java/com/yanzuoguang/mq/service/impl/MqServiceImpl.java
View file @
903c08a6
...
@@ -30,6 +30,7 @@ public class MqServiceImpl implements MqService {
...
@@ -30,6 +30,7 @@ public class MqServiceImpl implements MqService {
*
*
* @param req
* @param req
*/
*/
@Override
public
String
createQueue
(
QueueVo
req
)
{
public
String
createQueue
(
QueueVo
req
)
{
req
.
check
();
req
.
check
();
return
queueService
.
create
(
req
);
return
queueService
.
create
(
req
);
...
@@ -41,6 +42,7 @@ public class MqServiceImpl implements MqService {
...
@@ -41,6 +42,7 @@ public class MqServiceImpl implements MqService {
* @param req 请求数据
* @param req 请求数据
* @return 查询结果
* @return 查询结果
*/
*/
@Override
public
PageSizeData
<
QueueVo
>
queryQueue
(
QueueQueryReqVo
req
)
{
public
PageSizeData
<
QueueVo
>
queryQueue
(
QueueQueryReqVo
req
)
{
return
queueService
.
query
(
req
);
return
queueService
.
query
(
req
);
}
}
...
@@ -50,6 +52,7 @@ public class MqServiceImpl implements MqService {
...
@@ -50,6 +52,7 @@ public class MqServiceImpl implements MqService {
*
*
* @return 查询结果
* @return 查询结果
*/
*/
@Override
public
String
queryInit
()
{
public
String
queryInit
()
{
queueService
.
init
();
queueService
.
init
();
return
"初始化完成"
;
return
"初始化完成"
;
...
@@ -61,6 +64,7 @@ public class MqServiceImpl implements MqService {
...
@@ -61,6 +64,7 @@ public class MqServiceImpl implements MqService {
* @param req 需要发送的消息
* @param req 需要发送的消息
* @return 消息编号,但是没有任何意义,发送成功会更改
* @return 消息编号,但是没有任何意义,发送成功会更改
*/
*/
@Override
public
String
message
(
MessageVo
req
)
{
public
String
message
(
MessageVo
req
)
{
req
.
check
();
req
.
check
();
return
messageService
.
send
(
req
);
return
messageService
.
send
(
req
);
...
@@ -72,6 +76,7 @@ public class MqServiceImpl implements MqService {
...
@@ -72,6 +76,7 @@ public class MqServiceImpl implements MqService {
* @param req
* @param req
* @return
* @return
*/
*/
@Override
public
String
message_error
(
MessageVo
req
)
{
public
String
message_error
(
MessageVo
req
)
{
req
.
check
();
req
.
check
();
return
messageService
.
onError
(
req
);
return
messageService
.
onError
(
req
);
...
...
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