|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ 2009 exception after system recover from standby status |
« View previous topic :: View next topic » |
Author |
Message
|
leland |
Posted: Thu Aug 05, 2010 7:53 pm Post subject: MQ 2009 exception after system recover from standby status |
|
|
Novice
Joined: 12 Feb 2009 Posts: 13
|
hi, guys
I found that it takes so long for xms.net api to throw the mq 2009 exception after the system recover from standby status, maybe 5 or 6 minutes, and the message consumer can not receive any message during these 5 or 6 minutes.
How can I gets the 2009 exception immediately so I can reconnect the mq server in this situation?
Ps: If I disconnect the network cable, i get the 2009 exception immediately.
Call stack is:
IBM.XMS.WMQ.WmqMessageConsumer.GetAMessage(Int64 timeOut)
IBM.XMS.WMQ.WmqMessageConsumer.ReceiveAsync(Int64 timeout)
IBM.XMS.WMQ.WmqAsynchronous.Run()
Linked Exception : CompCode: 2, Reason: 2009
I am using:
xms 4 .net, version 1.2.6
windows xp sp3
Thanks in advance  |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Aug 05, 2010 7:58 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You might want to look at the defaults of the tcp/ip stack. This way a failure can be detected faster...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
leland |
Posted: Thu Aug 05, 2010 11:25 pm Post subject: |
|
|
Novice
Joined: 12 Feb 2009 Posts: 13
|
Any chance I can get the 2009 error message from the exception immediately? |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Aug 06, 2010 12:34 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
leland wrote: |
Any chance I can get the 2009 error message from the exception immediately? |
Only if the tcp/ip stack throws it immediately  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|