The startApplication operation stops a running Mule Application. It is normally used in deploy workflows or utility workflows.
This operation is compatible with the following types of servers:
FDMULE_TYPE | Notes Specific to the FDMULE_TYPE | CloudHub | |
---|---|---|---|
Anypoint Runtime Manager | Runtime Agent | Standalone | This operation should run on the Mule server where the project will be stopped. Since standalone servers don't natively support this operation, this operation runs a FlexDeploy specific process to mark the application as one to be stopped. The application will be shown as undeployed in the logs, but the application will be able to be started by the startApplication operation without providing the artifact again. This means that any local changes to the files will be preserved by the stop and start. In order to stop an application on an entire cluster, set up multiple instances or endpoints. The operation will be run on all of them so the application will be stopped on all of the cluster members. |
Target Properties
Info |
---|
In 9.0.0.3, the cloud-related properties were moved into cloud accounts. This process happens automatically during server startup / migration. If you running on a version of FlexDeploy prior to 9.0.0.2, please refer to the 8.0 documentation instead of this page. |
Property Name | Property Code | Required for which FDMULE_TYPE | Description |
---|---|---|---|
Mule |
Account |
|
Standalone
Path to the Mule Standalone Install
Anypoint Username
FDMULE_USER
| CloudHub, Anypoint Runtime Manager |
Anypoint Platform Username
The Mule Integration Account See Configuring a Mule Cloud Account for help creating a Mule Cloud Account. | |
Mule Home |
|
CloudHub, Anypoint Runtime Manager
| Standalone | Path to the Mule Standalone Install | |
Mule Type |
| All | The type Mule server that this environment includes. (CloudHub, Anypoint Runtime Manager, Runtime Agent, Standalone) |
Organization Name
FDMULE_ORG_NAME
CloudHub, Anypoint Runtime Manager
Mule Organization Name
Environment Name
FDMULE_ENV_NAME
CloudHub, Anypoint Runtime Manager
Mule Environment Name
Defaults to $FD_ENVIRONMENT_CODE
Timeout in Milliseconds |
| None | Timeout for deployment and utility operations such as start and stop application. Defaults to 600000 which is 10 minutes. |
Anypoint URL
FDMULE_ANYPOINT_URL
CloudHub, Anypoint Runtime Manager
The URL of Anypoint Runtime Manager
Defaults to https://anypoint.mulesoft.comRuntime Agent URL |
| Runtime Agent | The URL of Runtime Agent |
Mule Region Code |
| None. Used for CloudHub, but optional | Region Code for Mule |
Project Properties
Property Name | Property Code | Required for which FDMULE_TYPE | Description |
---|---|---|---|
Mule Application Name |
| All | Name of the Mule Application to stop |
Target Type |
| Anypoint Runtime Manager | Mule Target Server Type (Server, Cluster, ServerGroup) If necessary, this property can be overridden at the property/Target level. |
Target Name |
| Anypoint Runtime Manager | Name for the Target Server, Cluster or Group If necessary, this property can be overridden at the property/Target level. |
Static IP Address |
| None. Used for CloudHub, but optional | Static IP Address for the Application If necessary, this property can be overridden at the property/Target level. |
...