To shutdown a component, it should no longer have SU deployed on. All SUs must be undeployed before to shutdown the component.
In previous version of Petals ESB it was possible to shutdown a component with SUs deployed on, but the following use case cannot be supported:
- according to JBI specifications: all external resource connections (as database) are:
- created on init(),
- released on shutdown().
- but component as SE BPMN that requires an external resource connection (as database) when (un)deploying service unit can not be supported, except if the component shutdown is blocked if SUs are deployed on.