Peter,

I am little confused on why you want to write something that MQSeries
does already for you. ( perhaps I am not understanding your exact
requirement). If you want failover then clustering is already available.
You can also have limited failover by using a client channel table that
contains connections to several queue managers. As I stated earlier,
perhaps I do not understand your requirements.

Cheers

-----Original Message-----
From: MQSeries List [mailto:MQSERIES@;AKH-Wien.AC.AT] On Behalf Of
Potkay, Peter M (PLC, IT)
Sent: Wednesday, October 23, 2002 1:01 PM
To: [EMAIL PROTECTED]
Subject: Failover Logic to secondary QM in JAVA


I am trying to code some logic that will automatically attempt to
connect to a secondary server/queue manager should the first become
unavailable. The question is, what error codes should this method check
for that would indicate a queue manager being unavailable?

So far, I think
2009 (MQRC_CONNECTION_ERROR),
2059 (MQRC_Q_MGR_NOT_AVAILABLE),
2161 (MQRC_Q_MGR_QUIESCING),
2162 (MQRC_Q_MGR_STOPPING)

will cover it. Am I missing any that should be added to this method?



Peter Potkay
IBM MQSeries Certified Specialist, Developer
[EMAIL PROTECTED] X 77906



This communication, including attachments, is for the exclusive use of
addressee and may contain proprietary, confidential or privileged
information. If you are not the intended recipient, any use, copying,
disclosure, dissemination or distribution is strictly prohibited. If you
are not the intended recipient, please notify the sender immediately by
return email and delete this communication and destroy all copies.

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Reply via email to