MQ

MQ

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  xmitq queue did not deliver message and sender channel is inactive state

    Posted Wed March 19, 2025 12:44 PM

    Hello All,

    I have issue where sender channel goes inactive and message stacked up in xmitq.

    restart of channel processed all message to remote queue.

    why do I have restart the sender channel?

    Note: queue manager was running all time, I did not shutdown and restart the queue manager.

    Thanks in advance

    K Priyanka



    ------------------------------
    K Priyanka
    ------------------------------


  • 2.  RE: xmitq queue did not deliver message and sender channel is inactive state

    Posted Wed March 19, 2025 01:38 PM

    Hi,

    do you have channel start triggering enabled? 
    https://www.ibm.com/docs/en/ibm-mq/9.3?topic=management-triggering-channels

    Regards,

    Rab.



    ------------------------------
    Rab McGill
    ------------------------------



  • 3.  RE: xmitq queue did not deliver message and sender channel is inactive state

    Posted Wed March 19, 2025 01:56 PM

    The sender channel will have stopped because you have a non-zero value in the Disconnect Interval (DISCINT) attribute. This tells the channel to end gracefully (go into INACTIVE status) once it has had no messages to move for that time interval.

    This is best combined with triggering on the transmission queue, so that when messages turn up on the transmission queue, the channel is automatically started.

    Here's an example MQSC command to set up triggering on your pre-existing transmission queue to automatically start your sender channel.

    ALTER QLOCAL(transmission-queue) TRIGGER TRIGTYPE(FIRST) INITQ(SYSTEM.CHANNEL.INITQ) TRIGDATA(sender-channel-name)

    Cheers,Morag



    ------------------------------
    Morag Hughson
    MQ Technical Education Specialist
    MQGem Software Limited
    Website: https://www.mqgem.com
    ------------------------------



  • 4.  RE: xmitq queue did not deliver message and sender channel is inactive state

    Posted Wed March 19, 2025 04:35 PM
    Edited by K Priyanka Wed March 19, 2025 04:35 PM

    Hello Morag,

    its helpful.

    Thank you!

    K Priyanka



    ------------------------------
    K Priyanka
    ------------------------------