empty message queue

Clovertech Forums Cloverleaf empty message queue

  • Creator
    Topic
  • #119328
    Rich
    Participant

      I have Cloverleaf 6.0. I’ve got an outbound queue that has 7,500 messages in it, and I’d like to empty the messages out before the receiving end starts back up. How do I do that?

    Viewing 2 reply threads
    • Author
      Replies
      • #119329
        David Barr
        Participant

          Type this to verify the messages that you want to skip:

          hcidbdump -r -d outbound_thread_name

          Then type this to remove the messages:

          hcidbdump -r -d outbound_thread_name -D

          If you want to save the message to a file, you can type this:

          hcidbdump -r -d outbound_thread_name -D file_name

          • This reply was modified 3 years, 1 month ago by David Barr.
        • #119331
          Peter Heggie
          Participant

            Can you go into the Recovery Database and delete the messages there? You can filter on the queue name. You could save them to a file first, if you need a backup.
            If Recovery is not enabled, then I think recycling the process will clear out the messages.

            Peter

            Peter Heggie

          • #119332
            Rich
            Participant

              That was perfect, thank you!

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