Apama 10.15.0 | Connecting Apama Applications to External Components | Working with IAF Plug-ins | Using the IAF | The IAF runtime | Using the Apama component extended configuration file | Setting environment variables for Apama components
 
Setting environment variables for Apama components
You can use the extended configuration file to set environment variables. Put environment variable declarations in the [Environment] section. For example:
[Environment]
MY_ENV_VAR=myvalue
If you specify an extended configuration file when you start the correlator, and if there are any environment variable entries in the extended configuration file, then the Apama components use those environment variable settings. If you do not specify an extended configuration file when you start the correlator, or there are no environment variable entries in an extended configuration file that you do specify, the Apama components use the environment variable settings specified elsewhere.
Note: 
You cannot use this feature to set variables such as LD_PRELOAD and LD_LIBRARY_PATH because UNIX dictates that they are set before the affected process starts execution. These environment variables should therefore be considered read-only.