How to save a ACK/NACK message from subsystem

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf How to save a ACK/NACK message from subsystem

  • Creator
    Topic
  • #48940
    Hongle Sun
    Participant

      Sometime, our sub steam system send back ACK message, how can we figure in engine side to capature those message instead of killing them when receipt?

      Thanks

    Viewing 7 reply threads
    • Author
      Replies
      • #60181
        Mark Thompson
        Participant

          On your thread properties, check “Save Inbound Messages”.  Even though they are reply messages they will be saved in the SMAT file.  Make sure you use a different filename than your Save Outbound Messages — they can’t save to the same file.

          - Mark Thompson
          HealthPartners

        • #60182
          Jim Kosloskey
          Participant

            Hongle,

            Did you want to do something with the replies through the engine or just save off the messages as they are received?

            Jim Kosloskey

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

          • #60183
            Hongle Sun
            Participant

              I would like to save those inbound reply ACK/NACK message when received. Currently we kill those message with tpshcimsgkill.. thanks

            • #60184
              Jim Kosloskey
              Participant

                Hongle,

                Then as Mark said SMAT is your answer.

                Jim Kosloskey

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

              • #60185
                Hongle Sun
                Participant

                  Thanks guys, I checked the outbound error log, it complains “[xlt :rout:ERR /0:nameofprocess_xlate:12/11/2006 09:42:02] No routes defined for TrxId ‘_HCI_static_route_-hna_adt’ while getting in ack/nack message… any ideal?

                • #60186
                  Michael Hertel
                  Participant

                    You still need to kill them like you always have.

                    SMAT will save them when they come in the door before the kill.

                  • #60187
                    Mark Thompson
                    Participant

                      Hongle,

                      The engine doesn’t know what to do with your reply messages.  The typical options are:

                      1) Kill the reply message in the “TPS Inbound Reply” TPS (on the Outbound thread configuration tab) with a proc like tpsKillReply. or

                      2) Validate the reply (using a proc like tpsHL7ValidateIBReply which kills the reply message), or

                      3) Route the reply message back to the sending system.

                      If you choose option 2 there is additional setup (save_ob_msg, resend_ob_msg) that has been discussed under the topic of recover_33 procs.

                      - Mark Thompson
                      HealthPartners

                    • #60188
                      Hongle Sun
                      Participant

                        Thanks all, i got it

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