There is a number of system properties used for globally configuring various parts of HAPI. Consolidate and document them properly and offer a way to configure them in one place (e.g. a properties file).
This is long overdue, I agree. Let's try and tackle it for the next release after 2.0. Ideally nothing should be required to be configured by system property, since they are scattered around the library, and obviously are problematic in any environment where multiple applications are deployed to a single JVM.
This is long overdue, I agree. Let's try and tackle it for the next release after 2.0. Ideally nothing should be required to be configured by system property, since they are scattered around the library, and obviously are problematic in any environment where multiple applications are deployed to a single JVM.
For things related to message parsing, a few of these properties can already be set at the individual parser level in ParserConfiguration: http://hl7api.sourceforge.net/base/apidocs/ca/uhn/hl7v2/parser/ParserConfiguration.html
I really need to get that documented properly, there's a commented-out start to it in changes.xml :)
Introduced HapiContext. A few systemproperties remain for backwards-compatibility reasons.