|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Timeout in MQConnections |
« View previous topic :: View next topic » |
Author |
Message
|
rog552003 |
Posted: Mon May 29, 2006 3:28 pm Post subject: Timeout in MQConnections |
|
|
Novice
Joined: 11 Dec 2005 Posts: 11
|
Hi!!! Thank you for all the help you have provided! I have another doubt:
Is there any way to set a timeout to a connection, using a Java? I ask this because my application is not closing all the connections it opens in the channel, not because of the code, but because the client fails, the connections remains open, is there any way to set a timeOut?
Than you very much!! I'm using MQSeries 5.3 |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue May 30, 2006 2:51 pm Post subject: Re: Timeout in MQConnections |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
rog552003 wrote: |
Hi!!! Thank you for all the help you have provided! I have another doubt:
Is there any way to set a timeout to a connection, using a Java? I ask this because my application is not closing all the connections it opens in the channel, not because of the code, but because the client fails, the connections remains open, is there any way to set a timeOut?
Than you very much!! I'm using MQSeries 5.3 |
Define Client fails.
You should trap the failure and close the resources then exit the client.
If you exit the jvm the resources will be freed. Otherwise you have to free them manually. You DO NOT want to wait until GC time. (way too long)
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
vennela |
Posted: Wed May 31, 2006 7:10 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Also, the admins can tweak in the qm.ini to get rid of stale connections. Ask them about TCP KeepAlive stanza |
|
Back to top |
|
 |
rog552003 |
Posted: Mon Jun 12, 2006 12:58 pm Post subject: |
|
|
Novice
Joined: 11 Dec 2005 Posts: 11
|
Please does anyone has documentation abuot this last topic, then TCP KeepAlive stanza?
Thank you very much!!! |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Jun 12, 2006 1:30 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Check out the System Administration manual. |
|
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
|
|
|
|