Class HL7Converter

java.lang.Object
org.apache.camel.component.hl7.HL7Converter

@Converter(generateLoader=true) public final class HL7Converter extends Object
HL7 converters.
  • Method Details

    • 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.HL7Exception
      IOException
    • 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.HL7Exception
      IOException