Package org.apache.camel.component.mllp
Class MllpAcknowledgementTimeoutException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.camel.component.mllp.MllpException
org.apache.camel.component.mllp.MllpAcknowledgementException
org.apache.camel.component.mllp.MllpAcknowledgementTimeoutException
- All Implemented Interfaces:
Serializable
Raised when a MLLP Producer does not receive a HL7 acknowledgement within the configured timespan
- See Also:
-
Constructor Summary
ConstructorDescriptionMllpAcknowledgementTimeoutException
(byte[] hl7Message, boolean logPhi) MllpAcknowledgementTimeoutException
(byte[] hl7Message, byte[] partialHl7Acknowledgement, boolean logPhi) MllpAcknowledgementTimeoutException
(byte[] hl7Message, byte[] partialHl7Acknowledgement, Throwable cause, boolean logPhi) MllpAcknowledgementTimeoutException
(byte[] hl7Message, Throwable cause, boolean logPhi) MllpAcknowledgementTimeoutException
(String message, byte[] hl7Message, boolean logPhi) MllpAcknowledgementTimeoutException
(String message, byte[] hl7Message, byte[] partialHl7Acknowledgement, boolean logPhi) MllpAcknowledgementTimeoutException
(String message, byte[] hl7Message, byte[] partialHl7Acknowledgement, Throwable cause, boolean logPhi) MllpAcknowledgementTimeoutException
(String message, byte[] hl7Message, Throwable cause, boolean logPhi) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Get the HL7 acknowledgement payload associated with this exception, if any.Methods inherited from class org.apache.camel.component.mllp.MllpException
getHl7AcknowledgementBytes, getHl7MessageBytes, getMessage, hasHl7AcknowledgementBytes, hasHl7MessageBytes
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MllpAcknowledgementTimeoutException
public MllpAcknowledgementTimeoutException(byte[] hl7Message, boolean logPhi) -
MllpAcknowledgementTimeoutException
public MllpAcknowledgementTimeoutException(byte[] hl7Message, byte[] partialHl7Acknowledgement, boolean logPhi) -
MllpAcknowledgementTimeoutException
-
MllpAcknowledgementTimeoutException
public MllpAcknowledgementTimeoutException(byte[] hl7Message, byte[] partialHl7Acknowledgement, Throwable cause, boolean logPhi) -
MllpAcknowledgementTimeoutException
-
MllpAcknowledgementTimeoutException
public MllpAcknowledgementTimeoutException(String message, byte[] hl7Message, byte[] partialHl7Acknowledgement, boolean logPhi) -
MllpAcknowledgementTimeoutException
-
MllpAcknowledgementTimeoutException
-
-
Method Details
-
getHl7Acknowledgement
public byte[] getHl7Acknowledgement()Get the HL7 acknowledgement payload associated with this exception, if any.- Returns:
- If the timeout occurred while attempting to receive an HL7 Message, this will be null. If the timeout occurred while attempting to receive an HL7 Acknowledgement, this will be the HL7 Message. If the timeout occurred while attempting to complete the read of an HL7 message (i.e. part of the message has already been read), this will be the partial acknowledgement payload that was read before the timeout.
-