Pavan Andhukuri
Pavan Andhukuri

Reputation: 1617

WSO2 - Gracefully shut down docker container

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

Answers (1)

Pubci
Pubci

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

Related Questions