java - Sprint Boot Application Shutdown -


i have spring boot application listens jcaps. connection durable. when shutdown application using

curl -x post ip:port//shutdown 

application not shutting down completely. can see pid when grep processes. tried kill using

kill -15 pid 

or

kill -sigterm pid 

the pid gone, subscription jcaps topic still active. hence, when restart application, unable connect same topic using same subscriber name.

please on how shutdown spring boot application.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -