Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Integration Server Administrator's Guide | Managing Services | Running Services When Packages Are Loaded, Unloaded, or Replicated | What Is a Shutdown Service?
 
What Is a Shutdown Service?
A shutdown service is one that the server automatically executes when it unloads a package from memory. If a package is in memory, the server unloads the package:
*At server shutdown or restart
*When someone uses the Integration Server Administrator to disable the package
*Before the server removes the package from memory when someone uses the Integration Server Administrator to reload a package
Shutdown services are useful for executing cleanup tasks such as closing files and purging temporary data. You could also use them to capture work-in-progress or state information before a package unloads.