Integration Server 10.3 | Built-In Services Reference Guide | Packages Folder | Summary of Elements in this Folder | pub.packages:reloadPackage
 
pub.packages:reloadPackage
WmPublic. Loads a new copy of the package into memory from disk.
If you make changes to the service in a package while the server is running, you must use reloadPackage to put those changes into effect.
Input Parameters
package
String Name of the package that you want to reload. Package names are case sensitive.
Output Parameters
message
String Message from server. (This is the same message that is displayed when you reload a package with the Integration Server Administrator.)
Usage Notes
Be aware that if you reload a package while services in the package are being executed, those services will most likely fail. reloadPackage does not wait for in-progress services to finish before reloading a package.
This service will throw an exception if the file named in package does not exist or cannot otherwise be reloaded.