增加 Tenant MQ 的支持

This commit is contained in:
YunaiV
2021-12-06 01:32:41 +08:00
parent a231582637
commit 1ce2c09f47
12 changed files with 95 additions and 31 deletions

View File

@ -1,5 +1,7 @@
package cn.iocoder.yudao.framework.mq.core.message;
import lombok.Data;
import java.util.HashMap;
import java.util.Map;
@ -8,12 +10,13 @@ import java.util.Map;
*
* @author 芋道源码
*/
@Data
public abstract class AbstractRedisMessage {
/**
* 头
*/
private final Map<String, String> headers = new HashMap<>();
private Map<String, String> headers = new HashMap<>();
public String getHeader(String key) {
return headers.get(key);