This commit is contained in:
redkale
2024-06-12 15:22:18 +08:00
parent 145dcdf1d3
commit 53f1d6dded
2 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ public @interface ResourceConsumer {
* @return MQ名称
*/
String mq() default "";
/**
* MQ客户端分组名称
*
@@ -40,14 +40,14 @@ public @interface ResourceConsumer {
/**
* 监听的topic
*
*
* @return topic
*/
String[] topics();
/**
* 消息序列化类型
*
*
* @return 序列化类型
*/
ConvertType convertType() default ConvertType.JSON;

View File

@@ -38,7 +38,7 @@ public @interface ResourceProducer {
/**
* 消息序列化类型
*
*
* @return 序列化类型
*/
ConvertType convertType() default ConvertType.JSON;