Contact Free trial Login

Passing Additional Arguments to the JVM to Control Mule

If you want to pass additional arguments to the JVM that runs Mule, you can add entries to the wrapper.conf file in the ${MULE_HOME}/conf directory, or you can pass the arguments at the command line by adding the -M switch.

For example, to set Mule’s encoding:

  • Add to the Wrapper configuration file, or you could add -M-Dmule.encoding=ISO-8859-1 to the Mule script at the command line.

If you add entries to the configuration file, you must change each instance of n to a consecutive number, or Java does not parse the properties correctly.

You can set Java Service Wrapper properties in the wrapper that you implement.

We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. You can read more and make your cookie choices here. By continuing to use this site you are giving us your consent to do this.