Author |
Message
|
anir123 |
Posted: Thu Dec 09, 2010 9:34 am Post subject: Persistent / Non Persistent TCP IP connection with MQ server |
|
|
Newbie
Joined: 09 Dec 2010 Posts: 1
|
Hello forum members,
My team has started working on Websphere MQ recently. We are queried by network team in project about the type of TCP connections made when JMS application connects to Websphere MQ server.
I would like to know if it uses Persistent TCP IP connection or it uses normal TCP IP connection which will be terminated after some time.
We are using Publish - Subscribe model for communication with MQ server.
I tried to search on the internet, however, could not get exact answer for this.
Requesting your help on this.
Thanking in Advance,
Regards,
Ani |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Dec 10, 2010 7:46 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
MQ functions as a resource to your application.
So you need to acquire the resource... and you need to EXPLICITLY release the resource.
Hope this answered your question.  _________________ MQ & Broker admin |
|
Back to top |
|
 |
gbaddeley |
Posted: Sun Dec 12, 2010 3:01 pm Post subject: Re: Persistent / Non Persistent TCP IP connection with MQ se |
|
|
 Jedi Knight
Joined: 25 Mar 2003 Posts: 2538 Location: Melbourne, Australia
|
anir123 wrote: |
I would like to know if it uses Persistent TCP IP connection or it uses normal TCP IP connection which will be terminated after some time. |
MQ uses the standard TCP IP Socket APIs. Socket sessions in MQ would normally be expected to terminate / close after some time. Eg. A channel is no longer running, or a client disconnects. _________________ Glenn |
|
Back to top |
|
 |
mvic |
Posted: Wed Dec 15, 2010 3:59 pm Post subject: Re: Persistent / Non Persistent TCP IP connection with MQ se |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
anir123 wrote: |
I would like to know if it uses Persistent TCP IP connection or it uses normal TCP IP connection which will be terminated after some time. |
What do these terms "persistent" and "normal" mean.
A TCP/IP connection is a TCP/IP connection. There are not 2 types.
MQ uses a TCP/IP connection. |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Wed Dec 15, 2010 10:46 pm Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
I also never heard about persistent or normal TCP/IP connections. With WMQ you may configure channels in such a way, that the never end. But in general the will have a disconnection interval which causes the channel to stop the connection after a while. Does this mean "persistent" or "normal"?
MQ channels also use heart beats to keep a channel - and its corresponding IP connection - open. But when the disconnection interval has reached, the channel will stop either.
Maybe this answers your question? _________________ Regards
Hubert |
|
Back to top |
|
 |
|