Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Managing Packages | Assigning Startup, Shutdown, and Replication Services to a Package | What Is a Shut Down Service?
 
What Is a Shut Down Service?
 
Assigning a Shutdown Service
Removing a Shutdown Service
A shutdown service is one that the Integration Server automatically executes when it unloads a package from memory. The server unloads a package from memory:
*At server shutdown or restart.
*When someone uses the Integration Server Administrator to disable the package.
*When someone uses the Integration Server Administrator to reload a package before it is removed from memory.
Shutdown services are useful for executing clean-up 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.