how to get the object returned from joinPoint.proceed() with Spring AOP and WebFlux
问题 I have a simple aspect (see below) with @Around annotation. This aspect works when the the application don't use reactive paradigm. But when the application returns Mono or Flux doesn't works properly. I need to get the object returned from the method to generate a JSON object to use as log, generate events, etc. Here is my code that works in a non reactive classes: @Around("@annotation(simpleEvent)") public Object logExecutionTime(ProceedingJoinPoint joinPoint, SimpleEvent simpleEvent)