feature(improve) - 优化事件移除一些引擎内部常量

This commit is contained in:
wangli 2026-03-23 15:15:52 +08:00
parent ae1a6fc445
commit e5f1ce70c3
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import cn.axzo.workflow.core.service.ExtAxMqLogService;
import cn.hutool.json.JSONUtil;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections4.ListUtils;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Component;
@ -34,6 +35,7 @@ public class MqLogListener implements ApplicationListener<MqLogEvent> {
if (!refreshProperties.getMqLogEnable()) {
return;
}
ListUtils.emptyIfNull(refreshProperties.getSupportedMqLogProcessDefinitionKeys());
switch (event.getEventType()) {
case INSERT:
insert(buildMqLogEntity(event));

View File

@ -26,6 +26,8 @@ public class SupportRefreshProperties {
@Value("${workflow.mqLog.enable: false}")
private Boolean mqLogEnable;
@Value("${workflow.mqLog.supportedProcessDefinitionKeys:}")
private List<String> supportedMqLogProcessDefinitionKeys;
@Value("${workflow.apiLog.filterApiType:}")
private String filterApiType;