Blocking data on all threads except one

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Blocking data on all threads except one

  • Creator
    Topic
  • #53592
    Krishna Kumar
    Participant

      I have a situation where we receive all ADT messages from our EMR through an inbond thread which routes data to multiple out bound threads based on transaction ID settings. Now the situation has come to send some messages around one route but not down any other routes. I know if we turn on inbound process and turn off all the out bound threads except one in the question, data will get accumulated on all other routes. We do not want to do that. Anybody had a situation like this? Or has any suggestion that even this is possible?

    Viewing 3 reply threads
    • Author
      Replies
      • #78221
        Jim Kosloskey
        Participant

          Krishna,

          I am assuming you want to control based on data content other than HL/7 Message/Event Type.

          If you are on 5.8 and later Cloverleaf I believe there is the ability to specify fields in the messagre to use for routing purposes. However, if that combination results in a lot of choices this would not be best.

          Otherwise you will need one or more filter procs.

          There are a number of them described here on clovertech or you can write your own. I am sorry I don’t have any links to point you to – so you will have to use search or perhaps someone has a link to their favorite.

          We use a reusable generic proc here to filter on any type of message Cloverleaf recognizes and for virtually any condition set.

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

        • #78222
          Krishna Kumar
          Participant

            Jim,

            Actually I do not want to filter any messages out, I want all messages to cross over to “one down stream system” at the same time I do not want all these message get queud up in the paths to all other down styream systems(all thsese connections are turned off). Keep in mind that I have one system connected to multiple down stram systems.

          • #78223
            Jim Kosloskey
            Participant

              Krishna,

              One way is to use hcitpsmsgkill on each route you do not want to receive the messages.

              You will need to remember to remove hcitpsmsgkill when the situation changes.

              Another option is to make a copy of the NetConfig, then remove the routes that should not gtet messages. Once the situation has changed, switch NetConfigs.

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

            • #78224
              Krishna Kumar
              Participant

                Thanks Jim. I liked your first option regarding which I am sending an email

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