ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Persistent / Non Persistent TCP IP connection with MQ server

Post new topic  Reply to topic
 Persistent / Non Persistent TCP IP connection with MQ server « View previous topic :: View next topic » 
Author Message
anir123
PostPosted: Thu Dec 09, 2010 9:34 am    Post subject: Persistent / Non Persistent TCP IP connection with MQ server Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Dec 10, 2010 7:46 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
gbaddeley
PostPosted: Sun Dec 12, 2010 3:01 pm    Post subject: Re: Persistent / Non Persistent TCP IP connection with MQ se Reply with quote

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
View user's profile Send private message
mvic
PostPosted: Wed Dec 15, 2010 3:59 pm    Post subject: Re: Persistent / Non Persistent TCP IP connection with MQ se Reply with quote

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
View user's profile Send private message
HubertKleinmanns
PostPosted: Wed Dec 15, 2010 10:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Persistent / Non Persistent TCP IP connection with MQ server
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.