createServer

The createServer operation creates a standalone Mule server on a Linux or Windows Endpoint.

The Mule runtime files are taken from an archive file (zip, tar, tar.gz, .tgz) file in the FD_ARTIFACTS_DIR if it exists. If not, the FDMULE_DOWNLOAD_URL property is used to download the Mule Runtime.

The archive is extracted to FDMULE_HOME, tested and setup to be run. On Windows, this includes installing the service. On Unix, this includes verifying that the mule executable has the execute flag set.

Target Properties

Property Name

Property Code

Required

Description

Property Name

Property Code

Required

Description

Mule Home

FDMULE_HOME

Yes



Download URL

FDMULE_DOWNLOAD_URL

No

Complete URL to download Mule from.

Required if no archive file of Mule is present in the FD_ARTIFACTS_DIR.

Recreate Existing

FDMULE_RECREATE_IF_EXISTS

No

If checked, this operation will recreate a clean server where one existed. If unchecked, the operation will error out if the Mule Home exists.

Stop if Running

FDMULE_STOP_IF_RUNNING

No

If checked, this operation will stop a running mule server if it is running before removing it. If unchecked, the operation will error out if the Mule server is running.

MULE_APP

FDMULE_APP

No

(Windows only) The Service Name to use for this Mule server

Must be unique on the Endpoint.


MULE_APP_LONG

FDMULE_APP_LONG

No

(Windows only) The Service Description Name to use for this Mule server

Must be unique on the Endpoint.

Artifacts

This operation consumes artifacts from the artifacts repository.

Endpoint Selection

This operation will select all available endpoints associated to the Target.

Endpoint Execution

This operation will execute on all of the selected endpoints.

The following macros are not currently supported in the footer:
  • style