This commit is contained in:
Redkale
2020-05-29 11:15:56 +08:00
parent 740bc8ae31
commit adb0dc5963
2 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.redkale.mq;
/**
*
*
* <p>
* 详情见: https://redkale.org
*
* @author zhangjx
*/
public interface MessageProcessor {
public void process(MessageRecord req, MessageResponse response);
}

View File

@@ -0,0 +1,15 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.redkale.mq;
/**
*
* @author zhangjx
*/
public interface MessageResponse {
public void finish(MessageRecord result);
}