How can I specify the jpos.xml path for JavaPos

2.7k views Asked by At

I want to load my jops.xml which includes my JavaPos decives from a custom location. How can I do it?

1

There are 1 answers

2
thi gg On BEST ANSWER

You can set it with the JposPropertiesConst.JPOS_POPULATOR_FILE_PROP_NAME property.

Example how to set it to an env-var:

System.setProperty(JposPropertiesConst.JPOS_POPULATOR_FILE_PROP_NAME, System.getenv("jposxml_path"));