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
[#2640] Support @ExceptionHandler and @MessageHandlerInterceptor annotated methods in Sagas #2656
Conversation
33fe1b8
to
ff40cfd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've got some reservations about the placement of the chainedInterceptor()
method we need to talk through.
modelling/src/main/java/org/axonframework/modelling/saga/metamodel/SagaModel.java
Outdated
Show resolved
Hide resolved
a7ac1a9
to
b9c87f0
Compare
b9c87f0
to
dad71f7
Compare
dad71f7
to
6d0ba9f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have some minor concerns with the current changes, but nothing major. I trust in the fact you'll account for my pointers. Hence I am approving preemptively.
modelling/src/main/java/org/axonframework/modelling/saga/metamodel/SagaMetaModelFactory.java
Outdated
Show resolved
Hide resolved
modelling/src/main/java/org/axonframework/modelling/saga/AnnotatedSaga.java
Show resolved
Hide resolved
...lling/src/main/java/org/axonframework/modelling/saga/repository/AnnotatedSagaRepository.java
Outdated
Show resolved
Hide resolved
...lling/src/main/java/org/axonframework/modelling/saga/repository/AnnotatedSagaRepository.java
Show resolved
Hide resolved
6d0ba9f
to
0d4cdd4
Compare
0d4cdd4
to
38a656f
Compare
Kudos, SonarCloud Quality Gate passed! |
Fixes #2640
It does 'break' the
InspectedSagaModel
I don't think this is a problem, but we can create an overloaded constructor setting aNoMoreInterceptors
instance for the interceptorMemberChain if neccesary.