Topic
  • 2 replies
  • Latest Post - ‏2016-12-12T15:21:45Z by fjb_saper
SystemAdmin
SystemAdmin
8523 Posts

Pinned topic How to set timeout in MQQueueManager

‏2007-09-17T07:35:41Z |
Hi,

I need to set a timeout for the MQQueueManager. The constructor automatically calls the Connect method and if the server is unavaiable my application hangs up. One of the constructor have a hashtable parameter to pass user defined settings. But I can't figure out the parameter for the timeout setting.

Thanks in advance

Martin
  • Ghost93
    Ghost93
    1 Post

    Re: How to set timeout in MQQueueManager

    ‏2016-12-09T10:56:42Z  

    Hi,

    We have the same problem.

    Does anyone know of a solution?

     

    Thank you

  • fjb_saper
    fjb_saper
    240 Posts

    Re: How to set timeout in MQQueueManager

    ‏2016-12-12T15:21:45Z  
    • Ghost93
    • ‏2016-12-09T10:56:42Z

    Hi,

    We have the same problem.

    Does anyone know of a solution?

     

    Thank you

    The connection to the qmgr is done using the comms stack (TCP/IP, LU, etc...) You need to look into the timeout of those.