Petals ESB "Autoloader"

compared with
Current by Christophe DENEUX
on Sep 07, 2015 08:54.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (4)

View Page History
h2. Installling/Deploying with the Petals ESB Autoloader

To install/deploy a JBI artifact, just put its associated archive in the installation/deployment directory (identified by the property {{[petals.autoloader.path.install|#RuntimeParams]}}). It will be automatically installed/deployed after a delay lower than the value of {{petals.autoloader.scan.period}}, and moved in the uninstallation/undeployment directory.

+Note 1:+ If a JBI artifact is installed/deployed by another process, using the JMX API for example, the autoloader is notified and the associated JBI archive is put in the uninstallation/undeployment directory, so it will be possible to use the Petals ESB autoloader to uninstall/undeploy the JBI artifact.
h2. Uninstallling/Undeploying with the Petals ESB Autoloader

To uninstall/undeploy a JBI artifact, just remove its associated archive from the uninstallation/undeployment directory (identified by the property {{petals.autoloader.path.installed}}. {{[petals.autoloader.path.installed|#RuntimeParams]}}). It will be automatically uninstalled/undeployed after a delay lower than the value of {{petals.autoloader.scan.period}}.
If a JBI artifact is uninstalled/undeployed through the Petals ESB autoloader and has another JBI artifacts depending on it, they will be automatically uninstalled/undeployed.

+Note 4:+ If a JBI artifact is uninstalled/undeployed by another process, using the JMX API for example, the autoloader is notified and the associated JBI archive is automatically removed from the uninstallation/undeployment directory, without trigering another uninstallation/undeployment ;).

+Note 5:+ If Petals ESB was installed on a Debian-based operating system from Debian packages, the filesystem operations must be done with the right system user: {{petals}}
h1. Configuration

{anchor:RuntimeParams}
h2. Runtime configuration parameters