0

The following state machine transition must fail and caller should be aware of that failure.

...
transitions
                .withExternal()
                    .source(NEW.name())
                    .target(STATE_A.name())
                    .event(NEW_RECEIPT.name())
                .and()
                .withLocal()
                    .source(STATE_A.name())
                    .target(STATE_B.name())
                    .event(CONTINUE.name())
                    .actionFunction(context -> Mono.error(new RuntimeException("something bad happened!")))
                .and()
                .withExternal()   
...

But that exception is not thrown and no logs for that. State machine points NEW.

it might be relevant with this comment.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.