Reputation: 5408
I have a Spring boot app running in docker on ECS
I can see that my @PreDestory method is being invoked on my @Component classes (added to gracefully shutdown an ExecutorService) but even with Trace logging level set I cannot see why. Is there a way to add a shutdown hook that provides information as to what event caused the shutdown to occur.
Upvotes: 1
Views: 267