Validation o f message id in MSA

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Validation o f message id in MSA

  • Creator
    Topic
  • #51663
    Virginia Everett
    Participant

      Has anyone added validation of the message id of the MSA to the message id of the outbound message in the check_ack proc?  If so what was the code you used and how long has it been in place?

    Viewing 2 reply threads
    • Author
      Replies
      • #71169
        Jim Kosloskey
        Participant

          Virginia,

          Do you mean validating the MSH-10 (Control-ID) and do you mean of the Acknowledgment being generated or the message being acknowledged?

          email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.

        • #71170
          Charlie Bursell
          Participant

            If using 5.6+

            A copy of the message that is awaiting reply is in OBMSGID.  It would be a simple matter to pull MSH.10 from that message and compare to Msg ID in MSA.

            We don’t usually feel that is necessary because we don’t send another message until we get ACK for the pending message.  Therefore, there should be no queued up messages on the receiving side.

            However, the hooks are there for whatever you wnat o do.  Just be sure and clean up to prevent memory leaks

          • #71171
            Virginia Everett
            Participant

              Thanks Charlie that was what I was thinking of.

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.