Skip to content

message.getAckMessage

Signature: message.getAckMessage()

Returns: byte[] result - the ACK message

Gets the message's ACK message.

Note

This method only applies to the following formatted messages: HL7, ASTM, Binary, CSV, DICOM, EDIFACT, Old Fxd Width, Fxd Length, ISO 8583, JSON, Text, X12, XML.

Parameters

None

Example

// Example: Retrieve the ACK message generated for the current message.

// Get the ACK message as a byte array
var ackMessage = message.getAckMessage(); // byte[]