Module Properties
Module properties provide an easy way to set defaults for use throughout your project. Module properties are visible within the module, you cannot change them from TIBCO Enterprise Administrator, and you cannot assign them to an activity directly. You have to reference a module property from a process property, and then reference the process property from the activity.
In TIBCO Business Studio, you can use module properties in several ways:
- Define a property using TIBCO Business Studio, and then override the value for individual applications at deployment time using TIBCO Enterprise Administrator. You can also override values for predefined properties unless you cannot set them on the user interface later.
- Predefine a property using TIBCO Business Studio, and then override the value for individual services (for example, Publication Service or TIBCO ActiveMatrix BusinessWorks process) at deployment time using TIBCO Enterprise Administrator. The values you specify are used at run time. You can also override values for predefined properties unless you cannot set them on the user interface later.
For example, when you assign a value 7474 to the RvDaemon module property, you can use the property in different sessions in the adapter. If you want to change the TIBCO Rendezvous daemon for the adapter, you can globally set it to a different value or override it from the command line.
Module properties can be specified in a TRA properties file or on the command line at design time. A property value set on the command line overrides the same property value set in the properties file. Similarly, a property value set in the properties file overrides the same property set in TIBCO Business Studio.
When a project is deployed and the configured components are running, all occurrences of the module property name are replaced with the module property value (unless it was overridden in a way that had higher precedence).
The property substitution mechanism can override module properties predefined in the project in a restricted manner. For details, see Property Substitution.
For how to add, specify, and group module properties in the Module Properties editor, see Using Module Properties.
You can also use Binding Editor
to specify module properties. For details, see
Configuring Module Properties in Binding Editor.
A number of module properties are predefined, see Predefined Module Properties. You can add definitions to the predefined properties.