Reputation: 1617
How do I gracefully shutdown docker container running WSO2 ESB? At the moment, I have to just kill the container running which might harm ongoing transactions.
Edit
I am using the micro-integrator product.
Upvotes: 0
Views: 181
Reputation: 4001
If you are using a container orchestration system such as Kubernetes, you can use prehooks for this. Please refer - https://github.com/wso2/kubernetes-apim/blob/master/advanced/am-pattern-1/templates/am/instance-1/wso2am-pattern-1-am-deployment.yaml#L78
Upvotes: 1