remove - 移除 WorkflowEngineException handler 处理器
This commit is contained in:
parent
505d369e80
commit
78151d27af
@ -15,7 +15,6 @@ import cn.axzo.workflow.core.engine.job.AsyncRejectTaskJobHandler;
|
||||
import cn.axzo.workflow.core.engine.job.AsyncTransferUserTaskJobHandler;
|
||||
import cn.axzo.workflow.core.engine.job.exception.handle.CustomAsyncJobLogClearTraceExceptionHandler;
|
||||
import cn.axzo.workflow.core.engine.job.exception.handle.CustomAsyncRunnableExceptionExceptionHandler;
|
||||
import cn.axzo.workflow.core.engine.job.exception.handle.CustomWorkflowEngineExceptionHandler;
|
||||
import cn.axzo.workflow.core.engine.persistence.CustomMybatisHistoricProcessInstanceDataManager;
|
||||
import cn.axzo.workflow.core.service.BpmnProcessActivityService;
|
||||
import cn.axzo.workflow.core.service.ExtAxHiTaskInstService;
|
||||
@ -36,8 +35,8 @@ import org.springframework.context.ApplicationContextAware;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.core.annotation.Order;
|
||||
import org.springframework.lang.Nullable;
|
||||
import org.springframework.data.redis.core.StringRedisTemplate;
|
||||
import org.springframework.lang.Nullable;
|
||||
|
||||
import java.time.Duration;
|
||||
import java.util.List;
|
||||
@ -99,7 +98,8 @@ public class FlowableConfiguration {
|
||||
configuration.setEnableVerboseExecutionTreeLogging(enableVerboseExecutionTreeLogging);
|
||||
configuration.setCustomAsyncRunnableExecutionExceptionHandlers(Lists.newArrayList(
|
||||
new CustomAsyncJobLogClearTraceExceptionHandler(),
|
||||
new CustomWorkflowEngineExceptionHandler(),
|
||||
// 移除掉该异常处理器,避免因为 job 抛出 WorkflowEngineException 时,不会重试的问题
|
||||
// new CustomWorkflowEngineExceptionHandler(),
|
||||
new CustomAsyncRunnableExceptionExceptionHandler()));
|
||||
configuration.setCommandContextFactory(new CustomCommandContextFactory());
|
||||
configuration.setCustomPreCommandInterceptors(Lists.newArrayList(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user