Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Statemachine core 4.0.0 ( Executing eventNotAccepted method) #1152

Open
subratadey03 opened this issue Mar 19, 2024 · 0 comments
Open

Statemachine core 4.0.0 ( Executing eventNotAccepted method) #1152

subratadey03 opened this issue Mar 19, 2024 · 0 comments
Labels
status/need-triage Team needs to triage and take a first look

Comments

@subratadey03
Copy link

We upgraded spring core to 4.0.0 version. As per our implementation we have extended StateMachineListenerAdapter<S, E> and overridden eventNotAccepted method like below :

@Override
public void eventNotAccepted(Message<E> event) {
    logger.warn(log, "eventNotAccepted", LogMessage.EVENT_NOT_ACCEPTED , event.getPayload());
} 

We observed, on every event we are getting above warning message, that means eventNotAccepted method is executing by the statemachine framework. But, there is no issue state transition for any event even though eventNotAccepted warning.

In older version 2.2.0 we had this method, but this method never executed.
Could you tell us , is it a bug in statemachine 4.0.0 or do we need to handle some other way ?

We debugged a lot but did not find any clue.
Please help us. we need urgent help on this.

@github-actions github-actions bot added the status/need-triage Team needs to triage and take a first look label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/need-triage Team needs to triage and take a first look
Projects
None yet
Development

No branches or pull requests

1 participant