Service Virtualization

 View Only
  • 1.  IBM MQ Virtual service Message Expiry

    Posted Sep 14, 2020 03:59 AM
    ​Hello,

    I need to set a expiry to IBM MQ VS response message. Ex the message should expire after 30 sec if not consumed.

    Can anyone help me how can I set this parameter in the IBM MQ VS.

    I see parameter msg.expiry in the VSI of  IBM MQ as -1. Is this used to set expiry time , if yes, what value can be put to set expire as 30 sec?

    Thanks in advance.
    Ekta

    Can this parameter be used to


  • 2.  RE: IBM MQ Virtual service Message Expiry
    Best Answer

    Posted Sep 15, 2020 01:39 AM
    Hi Ekta,

    Yes, this param is used to mark the expiry of message from the queue.

    Value of -1 means message will not expire till it is consumed and value of this is expressed in tenths of a second i.e. for  10 second expiry configure value as 100.

    Thanks


    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------



  • 3.  RE: IBM MQ Virtual service Message Expiry

    Posted Sep 15, 2020 01:47 AM
    Edited by Ekta Srivastava Sep 15, 2020 03:36 PM
      
    Thank you . I tried that and it worked




  • 4.  RE: IBM MQ Virtual service Message Expiry

    Posted Sep 15, 2020 01:54 AM
    Cool. Thanks for the update.

    ------------------------------
    Regards,
    Vaibhav Jain
    Capgemini
    ------------------------------