Identify target thread name in an Xlate?

Clovertech Forums Cloverleaf Identify target thread name in an Xlate?

  • Creator
    Topic
  • #119158
    Mike Strout
    Participant

      The site I am working at these days prefers suppresses in Xlates to kill procs on routes. I know it isn’t as efficient, but the customer is always right.

      Anyway, I am wondering if there is a way to determine the sending and/or target thread name(s) from within an Xlate? It seems like it should be in the message meta data, but I’m not sure if it is possible or how to get to it?

      Mike

       

       

    Viewing 0 reply threads
    • Author
      Replies
      • #119159
        Keith McLeod
        Participant

          I do a copy statement like this

          copy @null –> @dest_thread

          I use Tcl PRe of ‘set xlateOutVals [xpmmetaget $xlateId DESTCONN]’

          Then make decisions based on the value of @dest_thread….

           

          Hope this helps.  Happy Motoring!!!

           

      Viewing 0 reply threads
      • You must be logged in to reply to this topic.