Merge branch 'hotfix/20251107_mq_header_error' into pre
This commit is contained in:
commit
bb36d5e318
@ -52,10 +52,9 @@ public class EngineActivityCallbackEventListener extends AbstractFlowableEventLi
|
||||
}
|
||||
|
||||
private List<BpmnActivityEventListener> getOrderedListeners() {
|
||||
ActivityOperationContext context = new ActivityOperationContext();
|
||||
List<BpmnActivityEventListener> orderListeners = new ArrayList<>();
|
||||
activityListeners.ifAvailable(orderListeners::addAll);
|
||||
orderListeners.forEach(i -> i.setContext(context));
|
||||
orderListeners.forEach(i -> i.setContext(new ActivityOperationContext()));
|
||||
return orderListeners;
|
||||
}
|
||||
|
||||
|
||||
@ -38,10 +38,9 @@ public class EngineActivityEndEventListener implements ExecutionListener {
|
||||
}
|
||||
|
||||
private List<BpmnActivityEventListener> getOrderedListeners() {
|
||||
ActivityOperationContext context = new ActivityOperationContext();
|
||||
List<BpmnActivityEventListener> orderListeners = new ArrayList<>();
|
||||
activityListeners.ifAvailable(orderListeners::addAll);
|
||||
orderListeners.forEach(i -> i.setContext(context));
|
||||
orderListeners.forEach(i -> i.setContext(new ActivityOperationContext()));
|
||||
return orderListeners;
|
||||
}
|
||||
}
|
||||
|
||||
@ -61,10 +61,9 @@ public class EngineActivityExtEventListener extends AbstractFlowableEventListene
|
||||
}
|
||||
|
||||
private List<BpmnActivityEventListener> getOrderedListeners() {
|
||||
ActivityOperationContext context = new ActivityOperationContext();
|
||||
List<BpmnActivityEventListener> orderListeners = new ArrayList<>();
|
||||
activityListeners.ifAvailable(orderListeners::addAll);
|
||||
orderListeners.forEach(i -> i.setContext(context));
|
||||
orderListeners.forEach(i -> i.setContext(new ActivityOperationContext()));
|
||||
return orderListeners;
|
||||
}
|
||||
|
||||
|
||||
@ -38,10 +38,9 @@ public class EngineActivityStartEventListener implements ExecutionListener {
|
||||
}
|
||||
|
||||
private List<BpmnActivityEventListener> getOrderedListeners() {
|
||||
ActivityOperationContext context = new ActivityOperationContext();
|
||||
List<BpmnActivityEventListener> orderListeners = new ArrayList<>();
|
||||
activityListeners.ifAvailable(orderListeners::addAll);
|
||||
orderListeners.forEach(i -> i.setContext(context));
|
||||
orderListeners.forEach(i -> i.setContext(new ActivityOperationContext()));
|
||||
return orderListeners;
|
||||
}
|
||||
}
|
||||
|
||||
@ -116,10 +116,9 @@ public class EngineNoticeEventListener extends AbstractFlowableEventListener {
|
||||
}
|
||||
|
||||
private List<BpmnMessagePushEventListener> getOrderedListeners() {
|
||||
NoticeOperationContext context = new NoticeOperationContext();
|
||||
List<BpmnMessagePushEventListener> orderListeners = new ArrayList<>();
|
||||
processEventListeners.ifAvailable(orderListeners::addAll);
|
||||
orderListeners.forEach(i -> i.setContext(context));
|
||||
orderListeners.forEach(i -> i.setContext(new NoticeOperationContext()));
|
||||
return orderListeners;
|
||||
}
|
||||
|
||||
|
||||
@ -167,10 +167,9 @@ public class EngineProcessInstanceEventListener extends AbstractFlowableEngineEv
|
||||
}
|
||||
|
||||
private List<BpmnProcessEventListener> getOrderedListeners() {
|
||||
ProcessOperationContext context = new ProcessOperationContext();
|
||||
List<BpmnProcessEventListener> orderListeners = new ArrayList<>();
|
||||
processEventListeners.ifAvailable(orderListeners::addAll);
|
||||
orderListeners.forEach(i -> i.setContext(context));
|
||||
orderListeners.forEach(i -> i.setContext(new ProcessOperationContext()));
|
||||
return orderListeners;
|
||||
}
|
||||
|
||||
|
||||
@ -77,10 +77,9 @@ public class EngineTaskEventListener implements TaskListener {
|
||||
* @return
|
||||
*/
|
||||
private List<BpmnTaskEventListener> getOrderedListeners() {
|
||||
TaskOperationContext context = new TaskOperationContext();
|
||||
List<BpmnTaskEventListener> orderListeners = new ArrayList<>();
|
||||
taskEventListeners.ifAvailable(orderListeners::addAll);
|
||||
orderListeners.forEach(i -> i.setContext(context));
|
||||
orderListeners.forEach(i -> i.setContext(new TaskOperationContext()));
|
||||
return orderListeners;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user