public interface HL7Support
Modifier and Type | Method and Description |
---|---|
Message |
createAckResponse(Message msg)
Creates the default ACK HL7 MLLP response message and binds that to the UltraESB message API to return a new
response message that is understood by the UltraESB messaging API
|
Message |
createErrorResponse(Message msg,
String ackStatus,
int errorCode,
String errorMessage)
Creates the default ERROR HL7 MLLP response message and binds that to the UltraESB message API to return a new
response message that is understood by the UltraESB messaging API
|
Message |
createErrorResponse(Message msg,
String ackStatus,
String errorMessage)
Creates the default ERROR HL7 MLLP response message and binds that to the UltraESB message API to return a new
response message that is understood by the UltraESB messaging API
|
String |
readPayloadAsString(Message msg)
Reads the HL7 payload as a String
|
Message createAckResponse(Message msg)
msg
- the message to which the ACK response to be createdMessage createErrorResponse(Message msg, String ackStatus, String errorMessage)
msg
- the message to which the ERROR response to be createdackStatus
- the HL7 ACK status to be attached to the error responseerrorMessage
- the error message detail to be attached to the error responseMessage createErrorResponse(Message msg, String ackStatus, int errorCode, String errorMessage)
msg
- the message to which the ERROR response to be createdackStatus
- the HL7 ACK status to be attached to the error responseerrorCode
- the error code causing this errorerrorMessage
- the error message detail to be attached to the error responseCopyright © 2010–2016 AdroitLogic. All rights reserved.