Sending single messages

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Sending single messages

  • Creator
    Topic
  • #50077
    w gillen
    Participant

      We are getting ready for a go live and our vendor is asking if we can send a single message, from a que of messages, to them.  They will verify the message, then ask if we will send another and so on.

      Even if we could send a small controlled batch of messages would be helpful.

      I read from a previous topic thread about delaying messages using some tcl script.

      Any suggestions?

      Thanks

    Viewing 4 reply threads
    • Author
      Replies
      • #64785
        Kevin Kinnell
        Participant

          If you can send via hcicmd you’ll have complete and fine-grained control.  If you

          need live data it’s a bit of a problem.

          Are they wanting live messages one at a time, or do they want live messages throttled

          to a low rate, or can they take faux “live” messages?  Is the system generating

          the messages under your control?  (One thing we do is stop the sending system

          from sending anything for a little while, usually by telling everyone “don’t enter/send/use

          this system until we say it’s ok.  Ah, the power!  P’fui.)

        • #64786
          Richard Hart
          Participant

            If we are requested to perform something like this, we ensure that no more messages can enter the site and that all messages are queued on the outbound thread that is on hold (phold_obd).

            We …

               save the messages in case the test fails; and

               execute a ‘release’ (prls_obd); and

               execute a ‘hold’ (phold_obd).

            We generally scripted this with a one second delay between the release and hold and referred to this as a ‘blip’.

            If the messages failed, we would clear the site and reload (hcicmd) from our saved file.

            We found that, depending on a lot of things, from 1 to 20 message could be sent.

            If you are after exact control, then, with a similar setup to the above, you can save the messages and clear them from the database.  Grab the first ‘n’ messages and use the hcicmd command to send them. Note that if all is OK, you’ll need to remove the first ‘n’ from your main list before these are sent.

            Note you’ll need to send them as outbound data!

          • #64787
            Russ Ross
            Participant

              Take a look at URL

              https://usspvlclovertch2.infor.com/viewtopic.php?t=1621&” class=”bbcode_url”>https://usspvlclovertch2.infor.com/viewtopic.php?t=1621&

              I have also used hcitcptest to send message(s) in an on demand very granualar fashion with great success.

              Russ Ross
              RussRoss318@gmail.com

            • #64788
              Kevin Kinnell
              Participant

                Russ Ross wrote:

                …I have also used hcitcptest to send message(s) in an on demand very granualar fashion with great success.

                Duh!  That never even occurred to me.  I’m going to have to try that.

                –kk

              • #64789
                Russ Ross
                Participant

                  Here are a couple of clovertech posts where I have talked about using hcitcptest and one shows an example of how to sent just one message using a script to save on typing and forgetfull memory in my case.

                  https://usspvlclovertch2.infor.com/viewtopic.php?t=2721&

                  https://usspvlclovertch2.infor.com/viewtopic.php?t=1750&

                  Russ Ross
                  RussRoss318@gmail.com

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