Never use @PostConstruct it gets completly bugged deppending how you customized your spring boot settings (thread pool, persistance datasource etc...). You should use ApplicationEvent< ApplicationReady> instead