spring-projects / spring-statemachine

Spring Statemachine is a framework for application developers to use state machine concepts with Spring.
1.53k stars 599 forks source link

I can't send Event synchronized #1029

Open youmingzeng opened 2 years ago

youmingzeng commented 2 years ago

version 2.3.0 My configure : builder.configureConfiguration().withConfiguration().taskExecutor(new SyncTaskExecutor());

but not work. after I invoke sendEvent() ,it execute async

youmingzeng commented 2 years ago

I found if I configure with @EnableStateMachineFactory then taskExecutor(new SyncTaskExecutor()) not work。 If I configure with Builder it worked。 Some spring boot auto configure influence the code?