Since we're on a major migration process of this website, some component documents here are out of sync right now. In the meantime you may want to look at the early version of the new website
https://camel.apache.org/staging/
We would very much like to receive any feedback on the new site, please join the discussion on the Camel user mailing list.
available as of Camel 2.17 The MLLP component is specifically designed to handle the nuances of the MLLP protocol and provide the functionality required by Healthcare providers to communicate with other systems using the MLLP protocol. The MLLP component provides a simple configuration URI, automated HL7 acknowledgment generation and automatic acknowledgement interrogation. The MLLP protocol does not typically use a large number of concurrent TCP connections - a single active TCP connection is the normal case. Therefore, the MLLP component uses a simple thread-per-connection model based an standard Java Sockets. This keeps the implementation simple and eliminates the dependencies other than Camel itself. The component supports the following:
The MLLP component uses byte[] payloads, and relies on Camel Type Conversion to convert byte[] to other types. Maven users will need to add the following dependency to their pom.xml for this component:
MLLP ConsumerThe MLLP Consumer supports receiving MLLP-framed messages and sending HL7 Acknowledgements. The MLLP Consumer can automatically generate the HL7 Acknowledgement (HL7 Application Acknowledgements only - AA, AE and AR), or the acknowledgement can be specified using the CamelMllpAcknowledgement exchange property. Additionally, the type of acknowledgement that will be generated can be controlled by setting the CamelMllpAcknowledgementType exchange property. Message HeadersThe MLLP Consumer adds these headers on the Camel message:
All headers are String types. If a header value is missing, its value is null. Exchange PropertiesThe type of acknowledgment the MLLP Consumer generates can be controlled by these properties on the Camel exchange:
All headers are String types. If a header value is missing, its value is null. Consumer ConfigurationMLLP ProducerThe MLLP Producer supports sending MLLP-framed messages and receiving HL7 Acknowledgements. The MLLP Producer interrogates the HL7 Acknowledgments and raises exceptions if a negative acknowledgement is received. The received acknowledgement is interrogated and an exception is raised in the event of a negative acknowledgement. Message HeadersThe MLLP Producer adds these headers on the Camel message:
All headers are String types. If a header value is missing, its value is null. Producer Configuration |