.net - Re-connection settings in IBM.XMS -
do have functionality in ibm.xms re-connection attempt count
, re-connection attempt delay
, re-connection attempt timeout
settings, have in tibco ?
i going use ibm.xms in .net application send/receive messages to/from ibm mq. if reason ibm mq goes down, believe these settings allow .net application attempt re-connection , thereby avoid crash in application.
update
i got info @ http://www-01.ibm.com/support/knowledgecenter/ssfksj_8.0.0/com.ibm.mq.msc.doc/xms_automatic_client_reconnection.htm. using using following:
oconfactory.setintproperty(xmsc.wmq_client_reconnect_options, xmsc.wmq_client_reconnect_q_mgr); oconfactory.setstringproperty(xmsc.wmq_connection_name_list, string.format("{0}({1})", con.host, con.port)); oconfactory.setintproperty(xmsc.wmq_client_reconnect_timeout, ((con.reconnecttimeout.hasvalue && con.reconnecttimeout.value != 0) ? con.reconnecttimeout.value : xmsc.wmq_client_reconnect_timeout_default));
but not working. code breaking moment stop queue manager. suggestions ?
yes! please use modern version of mq client , qmgr though. functionality , stability improved, including ability use client reconnect features. please see:
automatic client reconnection in .net
related , important topics include:
- connection options - different ways of connecting mq natively
- connection differences - describes mq's use of .net's managed , unmanaged connections , differences.
the preceding links v7.5 documentation. if need v8.0 documentation (highly recommended use v8.0 qmgr , client current of writing) go here.
ibm has released full-function, non-expiring product called websphere mq advanced developers if need qmgr test on personal workstation.
that comes client libraries if need client libs, download stand-alone client. go supportpacs landing page , names mc[vr]. naming should intuitive after that. supportpac mqc8 v8.0 client, mqc75 v7.5 client, etc.
if need wmq explorer download, pick supportpac ms0t. in case, highly recommend getting ms0p , unzipping explorer dropins folder.
Comments
Post a Comment