public final class Hl7Util extends Object
Modifier and Type | Method and Description |
---|---|
static String |
generateInvalidPayloadExceptionMessage(byte[] hl7Bytes) |
static String |
generateInvalidPayloadExceptionMessage(byte[] hl7Bytes,
int length)
Verifies that the HL7 payload array
|
public static String generateInvalidPayloadExceptionMessage(byte[] hl7Bytes)
public static String generateInvalidPayloadExceptionMessage(byte[] hl7Bytes, int length)
The MLLP protocol does not allow embedded START_OF_BLOCK or END_OF_BLOCK characters. The END_OF_DATA character is allowed (and expected) because it is also the segment delimiter for an HL7 message
hl7Bytes
- the HL7 payload to validateApache Camel