[axonframework] My saga cant proccess events

Hi Georgy,

A more concise configuration, here in the thread, would be much appreciated.

It is always a good idea to add your git repo, but it broadens the context far to much to give you a simple answer to your problem.

I see it’s a Spring Boot app, thus using the @Saga annotation on your Saga would instantiate all the required Saga components for you.

In your Saga class I see two unnecessary things.

First, your saga doesn’t need a no-arg constructor at all, so you can drop that class-level annotation.

Second, it appears you’re changing an event it’s state in the TwoNameSetted event handler.

It strongly suggest against changing an event it’s state.

Regard events as history. In real life, you cant change history either, so that should hold for events as well.

As such, I suggest making your events (and commands and queries for that matter) immutable.

Thirdly, (and I’m guessing this is the issue) you should be able to replace all axon dependencies for the axon-spring-boot-starter dependency.

Concluding, it would be nice of in your next request you could provide some more background. With set up issues, typically your config and dependency management file should be enough.

Hope this helps!