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

View File

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