The HL7 Transport transport (New new in Carbon 4.0) allows you to handle Health Level 7 International (HL7) messages. It is available when you install The following sections describe how to install, enable, and configure the HL7 transport:
Info |
---|
WSO2 ESB uses the HAPI parser to provide HL7 support, which currently does not support HL7v3. |
Table of Contents | ||||
---|---|---|---|---|
|
Installing the HL7 feature
...
Enabling the transport
You configure the HL7 transport in in the <ESB_HOME>/repository/conf/axis2/axis2.xml
file as follows:
Code Block |
---|
<transportConfig> <transportReceiver name="hl7" class="org.wso2.carbon.business.messaging.hl7.transport.HL7TransportListener"> <parameter name="port">9292</parameter> </transportReceiver> <transportSender name="hl7" class="org.wso2.carbon.business.messaging.hl7.transport.HL7TransportSender"> <!--parameter name="non-blocking">true</parameter--> </transportSender> </transportConfig> ... <messageFormatters> <messageFormatter contentType="application/edi-hl7" class="org.wso2.carbon.business.messaging.hl7.message.HL7MessageFormatter"/> ... </messageFormatters> ... <messageBuilders> <messageBuilder contentType="application/edi-hl7" class="org.wso2.carbon.business.messaging.hl7.message.HL7MessageBuilder"/> </messageBuilders> |
Creating an HL7 proxy service
For information on creating a proxy service that uses the HL7 transport, see Creating an HL7 Proxy Service.
...
To control the encoding type of incoming messages, set the Java system property "ca.uhn.hl7v2.llp.charset".
Configuring application acknowledgement
...
...
In general, we don't wait for the back-end application's response before sending an "accept-acknowledgement" message to the client. If you do want to wait for the application's response before sending the message, define the following property in the InSequence:
<property name="HL7_APPLICATION_ACK" value="true" scope="axis2"/>
...
For more information on configuring the proxy service for application acknowledgement, see Application acknowledgement in Creating an HL7 Proxy Service.