Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The HL7 Transport (New in Carbon 4.0) allows you to handle Health Level 7 International (HL7) messages. It is available when you install the Axis2 Transport HL7 feature. After you install the HL7 transport, it is configured in <ESB_HOME>/repository/conf/axis2/axis2.xml as follows:

...

6. Set the Java system property "ca.uhn.hl7v2.llp.charset" to control the encoding type of incoming messages.

Configuring the TIMEOUT period for waiting response from backend application

In general, we don't depend on the backend application's response. What we do is, sending back an "Accept-Acknowledgement" message to client. But in some usecases, user wants to depend on the "Application-Acknowledgement". In such cases,the request thread has to wait till the backend application returns the response. We can configure that, TIMEOUT period at transport level.

eg: <parameter name="transport.hl7.TimeOut">1000</parameter>

 

 

 

Info
titleSample configuration

<transportReceiver name="hl7" class="org.wso2.carbon.business.messaging.hl7.transport.HL7TransportListener">
<parameter name="transport.hl7.TimeOut">1000</parameter>
</transportReceiver>

Please note that Timeout value has to be provided in Milliseconds.  

 

 

 

Excerpt
hiddentrue

Information about the HL7 Transport in WSO2 ESB.