TCP/IP connection failure management

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf TCP/IP connection failure management

  • Creator
    Topic
  • #53341
    David Coffey
    Participant

      I am fairly new to the product so please bear with me.

      I need to configure a thread to recognize when it cannot connect via TCP/IP to a remote system and execute a TCP proc to execute some custom error logic.   In an ideal world it would only punt after x failures.

      David Coffey

    Viewing 1 reply thread
    • Author
      Replies
      • #77336
        David Barr
        Participant

          Usually you would handle this by configuring the thread as PDL TCP/IP thread and select “auto-reconnect” in the protocol properties. The custom error logic could go in an alert that would trigger when the thread’s status is “opening” for longer than a specified period of time.

        • #77337
          David Coffey
          Participant

            It seems some further explanation is needed.

            The thread receives a message (typically an ORM), stores it to disk, creates an A19 query to bump up against our EMPI product.  If the thread is unable to connect I want to be able to read the original message from disk, pass it along to another thread and delete the copy stored on disk.   And kill the message that is currently in the thread.

            David Coffey

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