It is now advised that destroyMethod="shutdown" should be used on @Bean methods returning an ExecutorService. Backport-Issue: SPR-9280 Backport-Commit: 6da03a61b22696283c2c5c79f8f88b5c36480560