Skip to content

Commit cc199b5

Browse files
committed
SmallRye Fault Tolerance: add missing reflection registration
All fault tolerance methods are reflected upon at runtime, so they need to be registered. That's what this commit does.
1 parent dcef943 commit cc199b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

extensions/smallrye-fault-tolerance/deployment/src/main/java/io/quarkus/smallrye/faulttolerance/deployment/SmallRyeFaultToleranceProcessor.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ void processFaultToleranceAnnotations(SmallRyeFaultToleranceRecorder recorder,
315315
if (ftMethod.isLegitimate()) {
316316
ftMethods.add(ftMethod);
317317

318+
reflectiveMethod.produce(new ReflectiveMethodBuildItem("fault tolerance method", method));
319+
318320
if (annotationStore.hasAnnotation(method, DotNames.ASYNCHRONOUS)
319321
&& annotationStore.hasAnnotation(method, DotNames.ASYNCHRONOUS_NON_BLOCKING)) {
320322
exceptions.add(new DefinitionException(

0 commit comments

Comments
 (0)