David Eibl created CAMEL-21048:
----------------------------------

             Summary: MLLP ACK invalid timestamp
                 Key: CAMEL-21048
                 URL: https://issues.apache.org/jira/browse/CAMEL-21048
             Project: Camel
          Issue Type: Bug
          Components: camel-mllp
    Affects Versions: 4.7.0
            Reporter: David Eibl


When receiving a HL7 Message via Camel MLLP an ACK (see: 
[https://hl7-definition.caristix.com/v2/HL7v2.5.1/TriggerEvents/ACK]) is being 
sent.

The Header contains a timestamp in MSH-7.1 (see: 
[https://hl7-definition.caristix.com/v2/HL7v2.5.1/Fields/MSH.7.1]).

Unfortuantelly this timestamp is using an invalid format, missing dot after 
seconds.

It is using yyyyMMddHHmmssSSSZZZZ instead of yyyyMMddHHmmss.SSSZZZZ

Missing dot is invalid, see: 
[https://hl7-definition.caristix.com/v2/HL7v2.5.1/DataTypes/DTM]

{{To fix this, timestamp in org.apache.camel.component.mllp.internal.Hl7Util 
needs to be changed.}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to