Skip to content

Commit fa2aa7e

Browse files
committed
initialized automationrpocesses in stopped mode to wait for bc to get ready
1 parent b13947d commit fa2aa7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sliceworkz-eventmodeling-impl/src/main/java/org/sliceworkz/eventmodeling/module/automation/AutomationProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public AutomationProcessor ( EventuallyConsistentProcessorIdentification process
6969
this.automationContextFactory = automationContextFactory;
7070
this.automation = automation;
7171
this.originalProcessorMode = processorMode;
72-
this.processorMode = processorMode;
72+
this.processorMode = ProcessorMode.STOPPED; // initialize as STOPPED, don't run before start() or things might nog have been initialized in the bounded context impl
7373
this.processorIdentification = processorIdentification;
7474
this.monitoredProcessorIdentification = monitoredProcessorIdentification;
7575
this.eventSource = eventSource;

0 commit comments

Comments
 (0)