pom: 3.1.1 升级版本
This commit is contained in:
parent
f29b2473cb
commit
ed884333b6
6
pom.xml
6
pom.xml
@ -38,17 +38,17 @@
|
||||
<dependency>
|
||||
<groupId>com.aizuda</groupId>
|
||||
<artifactId>easy-retry-client-starter</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<version>3.1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.aizuda</groupId>
|
||||
<artifactId>easy-retry-client-core</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<version>3.1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.aizuda</groupId>
|
||||
<artifactId>easy-retry-client-job-core</artifactId>
|
||||
<version>3.1.0</version>
|
||||
<version>3.1.1</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.freemarker</groupId>
|
||||
|
@ -0,0 +1,19 @@
|
||||
package com.example.easy.retry.listener;
|
||||
|
||||
import com.aizuda.easy.retry.client.common.event.ChannelReconnectEvent;
|
||||
import com.aizuda.easy.retry.common.log.EasyRetryLog;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @author xiaowoniu
|
||||
* @date 2024-03-14 21:58:18
|
||||
* @since 3.1.0
|
||||
*/
|
||||
@Component
|
||||
public class EasyRetryChannelReconnectListener implements ApplicationListener<ChannelReconnectEvent> {
|
||||
@Override
|
||||
public void onApplicationEvent(ChannelReconnectEvent event) {
|
||||
EasyRetryLog.LOCAL.info("这个一个重连事件");
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.example.easy.retry.listener;
|
||||
|
||||
import com.aizuda.easy.retry.client.common.event.EasyRetryClosedEvent;
|
||||
import com.aizuda.easy.retry.client.common.event.EasyRetryStartedEvent;
|
||||
import com.aizuda.easy.retry.common.log.EasyRetryLog;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @author xiaowoniu
|
||||
* @date 2024-03-14 22:00:58
|
||||
* @since 3.1.0
|
||||
*/
|
||||
@Component
|
||||
public class EasyRetryClosedListener implements ApplicationListener<EasyRetryClosedEvent> {
|
||||
@Override
|
||||
public void onApplicationEvent(EasyRetryClosedEvent event) {
|
||||
EasyRetryLog.LOCAL.info("这是一个EasyRetry关闭完成事件");
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.example.easy.retry.listener;
|
||||
|
||||
import com.aizuda.easy.retry.client.common.event.EasyRetryClosingEvent;
|
||||
import com.aizuda.easy.retry.client.common.event.EasyRetryStartedEvent;
|
||||
import com.aizuda.easy.retry.common.log.EasyRetryLog;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @author xiaowoniu
|
||||
* @date 2024-03-14 22:00:58
|
||||
* @since 3.1.0
|
||||
*/
|
||||
@Component
|
||||
public class EasyRetryClosingListener implements ApplicationListener<EasyRetryClosingEvent> {
|
||||
@Override
|
||||
public void onApplicationEvent(EasyRetryClosingEvent event) {
|
||||
EasyRetryLog.LOCAL.info("这是一个EasyRetry开始关闭事件");
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.example.easy.retry.listener;
|
||||
|
||||
import com.aizuda.easy.retry.client.common.event.EasyRetryStartedEvent;
|
||||
import com.aizuda.easy.retry.client.common.event.EasyRetryStartingEvent;
|
||||
import com.aizuda.easy.retry.common.log.EasyRetryLog;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @author xiaowoniu
|
||||
* @date 2024-03-14 22:00:58
|
||||
* @since 3.1.0
|
||||
*/
|
||||
@Component
|
||||
public class EasyRetryStartedListener implements ApplicationListener<EasyRetryStartedEvent> {
|
||||
@Override
|
||||
public void onApplicationEvent(EasyRetryStartedEvent event) {
|
||||
EasyRetryLog.LOCAL.info("这是一个EasyRetry启动完成事件");
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
package com.example.easy.retry.listener;
|
||||
|
||||
import com.aizuda.easy.retry.client.common.event.ChannelReconnectEvent;
|
||||
import com.aizuda.easy.retry.client.common.event.EasyRetryStartingEvent;
|
||||
import com.aizuda.easy.retry.common.log.EasyRetryLog;
|
||||
import org.springframework.context.ApplicationListener;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* @author xiaowoniu
|
||||
* @date 2024-03-14 22:00:58
|
||||
* @since 3.1.0
|
||||
*/
|
||||
@Component
|
||||
public class EasyRetryStartingListener implements ApplicationListener<EasyRetryStartingEvent> {
|
||||
@Override
|
||||
public void onApplicationEvent(EasyRetryStartingEvent event) {
|
||||
EasyRetryLog.LOCAL.info("这是一个EasyRetry启动事件");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user