Keep thread forwarding when restarted

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Keep thread forwarding when restarted

  • Creator
    Topic
  • #48735
    Julie Kimmel
    Participant

      Hello,

      When forwarding messages from one thread to another, if the thread is stopped (or process is stopped) and restarted….it reverts back to not forwarding….that makes sense….

      However, does anyone know of a way…a flag or something… to read in order to write a tcl proc upon startup to start the thread back up with forwarding on if it was previously on?

      Thanks,

      Julie

    Viewing 0 reply threads
    • Author
      Replies
      • #59533
        Jim Kosloskey
        Participant

          Julie,

          I guess you could touch a file when forwarding is started and check for that file each time the thread is started.

          Of course you would need to place code somewhere to remove the file when the thread really needs to be started normally.

          Perhaps another approach is to check and see if the foward to thread is not dead and assume if it is alive (connected or not) the forward from thread needs to be started in a forwarded mode.

          Just some guesses.

          We do not use forwarding primarily because we do not like the fact there is no GUI indications (as in a dashed arrow line) to indicate forwarding is activated and where.

          Jim Kosloskey

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

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