...
Code Block |
---|
<dependency> <groupId>org.apache.camel</groupId> <artifactId>camel-hl7</artifactId> <version>1<version>2.62.0</version> </dependency> |
Camel 2.3: The Since HAPI library version 0.6, the library has been split into a base library and several structures libraries, one for each HL7v2 message version:
- v2.1 structures library
- v2.2 structures library
- v2.3 structures library
- v2.3.1 structures library
- v2.4 structures library
- v2.5 structures library
- v2.5.1 structures library
- v2.6 structures library
By default camel-hl7
only references the HAPI base library. Applications are responsible for including structures libraries themselves. For example, if a application works with HL7v2 message versions 2.4 and 2.5 then the following dependencies must be added:
Code Block |
---|
<dependency> <groupId>ca.uhn.hapi</groupId> <artifactId>hapi-structures-v24</artifactId> <version>0<version>1.6<0</version> </dependency> <dependency> <groupId>ca.uhn.hapi</groupId> <artifactId>hapi-structures-v25</artifactId> <version>0<version>1.6<0</version> </dependency> |
OSGi
When running camel-hl7
on an OSGi platform it is recommended to use this hapi-0.6 OSGi bundle from the Camel Maven repository. This bundle contains the HAPI base library and all structure libraries on the bundle classpathWork in progress (see also this thread on the HAPI mailing list).