how to get ACK message on a file

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf how to get ACK message on a file

  • Creator
    Topic
  • #55023
    Mahmoud Ihaddadene
    Participant

      Hi,

      I have configured a thread1 with fileset-ftp where to read an HL7 message and another thread2 will receive this HL7 message with a tcpip socket .

      How can i get the ACK message (tcpip) and  saved it on a file ?

      Regards,

      Mahmoud

      McGill University Health Centre

    Viewing 1 reply thread
    • Author
      Replies
      • #83824
        James Cobane
        Participant

          Mahmoud,

          If you are referring to saving the ACK that is coming back on the outbound thread, simply turn on the ‘Inbound Save’ on that outbound thread.  That will save any ACKs returned in the SMAT DB/file.  Then you can simply view it in SMAT or save it to a file (from the SMAT tool) to do with as you wish.

          Jim Cobane

          Henry Ford Health System

        • #83825
          Jim Kosloskey
          Participant

            On the other hand if what you want to do is to send the acknowledgments to a file other than SMAT as they arrive, then you would need to set up Route Replies on the outbound thread and route to another thread.

            A note here; the Route Replies in some releases of CL will only route back to the sending thread – not what you want.

            If that is the case with the release you are on, then what I have done is to make a copy of the message which I OVER so it ends up on the inbound side of the outbound thread then do a Route Data from the outbound thread (don’t forget to KILL the original acknowledgment). This needs to be done in Tcl.

            Of course you may need to adjust your acknowledgment handling as well.

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

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