From d1f26741bddf6f512d62c0100d42c52be8d37e76 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 06 二月 2021 15:35:40 +0800 Subject: [PATCH] 工具类优化 --- fanli/src/main/java/com/yeshi/fanli/util/rocketmq/MyTransactionProducer.java | 28 ++++++++++++++-------------- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/rocketmq/MyTransactionProducer.java b/fanli/src/main/java/com/yeshi/fanli/util/rocketmq/MyTransactionProducer.java index 1452ede..1f6e02f 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/rocketmq/MyTransactionProducer.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/rocketmq/MyTransactionProducer.java @@ -1,14 +1,14 @@ -package com.yeshi.fanli.util.rocketmq; - -import com.aliyun.openservices.ons.api.Message; -import com.aliyun.openservices.ons.api.SendResult; -import com.aliyun.openservices.ons.api.bean.TransactionProducerBean; -import com.aliyun.openservices.ons.api.transaction.LocalTransactionExecuter; - -public class MyTransactionProducer extends TransactionProducerBean { - - public SendResult sendMsg(Message message, LocalTransactionExecuter executer, Object arg) { - return super.send(message, executer, arg); - } - -} +package com.yeshi.fanli.util.rocketmq; + +import com.aliyun.openservices.ons.api.Message; +import com.aliyun.openservices.ons.api.SendResult; +import com.aliyun.openservices.ons.api.bean.TransactionProducerBean; +import com.aliyun.openservices.ons.api.transaction.LocalTransactionExecuter; + +public class MyTransactionProducer extends TransactionProducerBean { + + public SendResult sendMsg(Message message, LocalTransactionExecuter executer, Object arg) { + return super.send(message, executer, arg); + } + +} -- Gitblit v1.8.0