From 664d621d23930ed3cb54d6b50d4df31015388c9b Mon Sep 17 00:00:00 2001 From: wangli <274027703@qq.com> Date: Wed, 17 Apr 2024 16:03:37 +0800 Subject: [PATCH] =?UTF-8?q?update=20-=20=E5=BC=82=E6=AD=A5=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=BB=BB=E5=8A=A1=E5=BC=82=E5=B8=B8=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...AsyncRunnableExecutionExceptionHandler.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 workflow-engine-core/src/main/java/cn/axzo/workflow/core/engine/job/exception/handler/CustomAsyncRunnableExecutionExceptionHandler.java diff --git a/workflow-engine-core/src/main/java/cn/axzo/workflow/core/engine/job/exception/handler/CustomAsyncRunnableExecutionExceptionHandler.java b/workflow-engine-core/src/main/java/cn/axzo/workflow/core/engine/job/exception/handler/CustomAsyncRunnableExecutionExceptionHandler.java new file mode 100644 index 000000000..0bee5356d --- /dev/null +++ b/workflow-engine-core/src/main/java/cn/axzo/workflow/core/engine/job/exception/handler/CustomAsyncRunnableExecutionExceptionHandler.java @@ -0,0 +1,18 @@ +package cn.axzo.workflow.core.engine.job.exception.handler; + +import org.flowable.job.api.JobInfo; +import org.flowable.job.service.JobServiceConfiguration; +import org.flowable.job.service.impl.asyncexecutor.AsyncRunnableExecutionExceptionHandler; + +/** + * TODO + * + * @author wangli + * @since 2024/4/17 16:03 + */ +public class CustomAsyncRunnableExecutionExceptionHandler implements AsyncRunnableExecutionExceptionHandler { + @Override + public boolean handleException(JobServiceConfiguration jobServiceConfiguration, JobInfo job, Throwable exception) { + return false; + } +}