Hello, I was wondering if I could replace the usua...
# spring
g
Hello, I was wondering if I could replace the usual Spring MVC
@Scheduled
annotation with Reactive Spring + Webflux’s
Flux.interval
method. Is this approach sane? Thanks in advance!
😶 2
j
With @Scheduled you annotate any method on a bean. With your approach, where would you subscribe to the flux? Consider implementing
SmartLifecycle
for this. But I honestly don't really see the benefit over the annotation