Package org.apache.camel.component.hl7
Class HL7Converter
- java.lang.Object
-
- org.apache.camel.component.hl7.HL7Converter
-
@Converter(generateLoader=true) public final class HL7Converter extends Object
HL7 converters.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]toByteArray(ca.uhn.hl7v2.model.Message message, org.apache.camel.Exchange exchange)static ca.uhn.hl7v2.model.MessagetoMessage(byte[] body, org.apache.camel.Exchange exchange)static ca.uhn.hl7v2.model.MessagetoMessage(String body)static StringtoString(ca.uhn.hl7v2.model.Message message)
-
-
-
Method Detail
-
toString
@Converter public static String toString(ca.uhn.hl7v2.model.Message message) throws ca.uhn.hl7v2.HL7Exception
- Throws:
ca.uhn.hl7v2.HL7Exception
-
toByteArray
@Converter public static byte[] toByteArray(ca.uhn.hl7v2.model.Message message, org.apache.camel.Exchange exchange) throws ca.uhn.hl7v2.HL7Exception, IOException- Throws:
ca.uhn.hl7v2.HL7ExceptionIOException
-
toMessage
@Converter public static ca.uhn.hl7v2.model.Message toMessage(String body) throws ca.uhn.hl7v2.HL7Exception
- Throws:
ca.uhn.hl7v2.HL7Exception
-
toMessage
@Converter public static ca.uhn.hl7v2.model.Message toMessage(byte[] body, org.apache.camel.Exchange exchange) throws ca.uhn.hl7v2.HL7Exception, IOException- Throws:
ca.uhn.hl7v2.HL7ExceptionIOException
-
-