@ PreDestroy public void destroy ( ) { if ( executorService != null ) { LOGGER . info ( "Shutting down message provider cache cleanup thread" ) ; cleanupJob . cancel ( true ) ; executorService . shutdown ( ) ; } }
Shuts down the cleanup thread .