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

angular - DownloadURL return null in below code -

python 2.7 - Given three nested dictionaries, sort the top two nested dictionaries from a value in the innermost dictionary? -