类 ApiLogReceiveService
java.lang.Object
io.github.mangocrisp.spring.taybct.admin.log.mq.ApiLogReceiveService
@AutoConfiguration
@ConditionalOnClass(org.springframework.amqp.rabbit.core.RabbitTemplate.class)
public class ApiLogReceiveService
extends Object
接收写日志
- 从以下版本开始:
- 2024/9/1 21:36
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
apiLogResults
(org.springframework.amqp.core.Message message, com.rabbitmq.client.Channel channel) 从 mq 读取消息
-
字段详细资料
-
apiLogService
-
-
构造器详细资料
-
ApiLogReceiveService
public ApiLogReceiveService()
-
-
方法详细资料
-
apiLogResults
@RabbitHandler @RabbitListener(bindings=, ackMode="MANUAL") public void apiLogResults(org.springframework.amqp.core.Message message, com.rabbitmq.client.Channel channel) throws IOException 从 mq 读取消息- 参数:
message
- 消息体channel
- 通道- 抛出:
IOException
- 从以下版本开始:
- 2024/9/1 21:36
-