MQ

 View Only
  • 1.  MQ triggering property

    Posted Fri March 11, 2022 09:47 AM
    I have a local queue that is a trigger queue and for some reason it can only handle one message at a time, so I changed the triggering type from first to every in MQ Explorer and that seems to have corrected the issue, however once I run a another test it changes the attribute back to first for the type. Is this normal or is there a way to make that parameter stay constant for that queue to alleviate the problem.

    Thanks.


  • 2.  RE: MQ triggering property

    Posted Fri March 11, 2022 01:26 PM
    I have also set it up using mqsc commands, but get the same results.


  • 3.  RE: MQ triggering property

    IBM Champion
    Posted Fri March 11, 2022 04:40 PM
    This looks to me like a feature of the program processing the queue.
    You should make sure that the program does the following
    • Opens the queue and does a get with wait
    • gets all messages and processes them before closing the queue
    • If you need parallel processing, can you use multi-threading in the processing program with a reasonable limit on max # of threads?
    • Beware of OS limits or overwhelming the OS when trigger every and having a deep queue.


    ------------------------------
    Francois Brandelik
    ------------------------------



  • 4.  RE: MQ triggering property

    Posted Mon March 14, 2022 11:57 AM
    Is your Queue Manager in a container?

    ------------------------------
    Bob Gibson
    Advisory Software Engineer
    IBM
    (919) 543-7280
    ------------------------------



  • 5.  RE: MQ triggering property

    Posted Mon March 14, 2022 12:02 PM
    As far as I know it is not running in a container.


  • 6.  RE: MQ triggering property

    Posted Wed March 16, 2022 09:34 AM
    Is there a way in MQ to run the mqsc commands in some type of script so the trigger type always has the EVERY parameter set? Sort of like in Task Schedular?


  • 7.  RE: MQ triggering property

    Posted Thu March 17, 2022 11:55 AM
    You can try to turn on MQ config events to see when and who changed the Trigtype from every back to first. SupportPac MH05 can help to display the Event message.

    ------------------------------
    Kwok Tai Yung
    ------------------------------