Heartbeat transaction

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Heartbeat transaction

  • Creator
    Topic
  • #48193
    Thomas Fortino
    Participant

      Hello All,

           I have been tasked with finding out if Cloverleaf can send a heartbeat (keep alive) transaction. If so, how is it done? (Example through a tcl proc and where is the proc inserted?) The scenario is a connection timeout between the two firewalls, which are about 75-100 miles apart. The Cloverleaf builds up transactions due to the target system

    Viewing 2 reply threads
    • Author
      Replies
      • #57966
        Mark Thompson
        Participant

          Thomas,

          We use a protocol:UPOC thread to generate messages at at regular intervals.  In the Properties window of the thread you can specify a “Read TPS” proc.  This is a TPS style proc that creates the content of the message.  All of your message generation code goes in the “time {” section of the TPS proc instead of the usual “run {” section.  The heart of this code boils down to:

          time {

             # Create and CONTINUE a new message

             set msgtext “Whatever you want”

             set newmh [msgcreate -class engine -type data]

             msgset $newmh $msgtext

             lappend dispList “CONTINUE $newmh”

          }

          You can route messages from this thread just like messages from any other inbound thread.  Hope this helps.

          - Mark Thompson
          HealthPartners

        • #57967
          Anonymous
          Participant

            Thomas,

            Why the Cloverleaf interface is not set to resend the message after the timeout waiting for the ACK? Will Cloverleaf continue sending if you bounce it or you need to bounce the other side?

            Could it be that the message or the ACK was lost for some reason but the connection is still alive?

          • #57968
            Anonymous
            Participant

              also see ‘firewall problems and workarounds’ on another page in this section

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