I'm trying to reference a module property from tibco business works 6.
Do you guys have an example about the getModuleProperty("")
?
What kind of input should I use?
Should I use the entire path or just the name of the property?
First off, you need to include a few dependencies in your project. (Documented here)
Then write some code access the properties
@ModuleProperties
public void loadProperties(HashMap<String, String> moduleProperties){
this.myClassProperty = moduleProperties.get("/DB/Property"); // Case Sensitive Path
System.out.println("Completed loading module properties.");
}