spring-statemachine Questions
2
Solved
11.5 Configuring Transitions
We support three different types of transitions, external, internal and local. Transitions are either triggered by a signal which is an event sent into a state machine ...
Carbineer asked 6/4, 2019 at 4:41
1
In the following sample code, I created a state machine and rehydrated it with the state of my choice. However, when I send events, the handlers defined with @OnTransition do not run.
If I comment ...
Invocate asked 25/9, 2022 at 14:39
1
I've been studying Spring State Machine and State design pattern since I have to develop a microservice with Spring Boot and persisted objects with a lot of confused states that need to be cleared ...
Goggin asked 8/11, 2015 at 10:36
1
Solved
I am trying to figure out how to easily use spring state machine including persistence with JPA.
This is the problem I am dealing with:
Incompatible data types - factory and persistence
At a certai...
Zealous asked 21/9, 2020 at 0:3
1
Solved
I am trying to understand, how an exception thrown by an action during a state transition is possible. I‘ve this simple state machine configured:
transitions
.withExternal()
.source(State.A1)
....
Going asked 7/3, 2019 at 15:29
2
I have an annotation based state machine configuration:
@Component @Scope(BeanDefinition.SCOPE_PROTOTYPE)
@EnableStateMachine(name = "machine1")
public class Machine1 extends
EnumStateMachineConf...
Ensample asked 22/2, 2019 at 13:45
2
I have a Task JPA @Entity which has field state - so it looks like state machine could be good abstraction to work with. The state may change by calling a REST endpoint in form like PUT /api/tasks/...
Contradictory asked 17/12, 2018 at 22:32
1
Solved
I have a state machine
@EnableStateMachine
@Configuration
public class StateMachineConfiguration extends EnumStateMachineConfigurerAdapter<Status, Event> {
@Override
public void configure(...
Bobodioulasso asked 15/2, 2019 at 9:41
1
Solved
When I receive a request on my API, I want to do a series of steps, each being a check or an enrichment. Each step could either succeed or fail. On Success, the next step should be carried out. On ...
Uela asked 29/12, 2016 at 6:21
1
I'm trying to use Spring State Machine in my project, because there is an object is Order with several state
NEW
PAID
PACKAGED
DELIVERED
CANCELED
RETURNED
That object could be implement as foll...
Andy asked 10/3, 2016 at 9:5
1
I have used Spring state machine with some basic Spring MVC application. I have to admit, it is pretty easy to configure and use.
But it has many limitations as well, mainly because of it be...
Syzran asked 22/1, 2016 at 6:23
1
I'm introducing Spring Statemachine into an existing project, with the hope of amalgamating and clarifying our business logic. We have various JPA entities with interconnected states and I'm having...
Elspet asked 2/6, 2015 at 12:1
1
Solved
With the new Spring Statemachine project, can I create a state machine programmatically without using adapter classes available for JavaConfig and Spring @Configuration classes?
Ker asked 18/4, 2015 at 12:58
1
© 2022 - 2024 — McMap. All rights reserved.