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 API Support » MQ Client : Multi threaded ?

Post new topic  Reply to topic
 MQ Client : Multi threaded ? « View previous topic :: View next topic » 
Author Message
maxis
PostPosted: Thu Jul 11, 2002 12:41 pm    Post subject: MQ Client : Multi threaded ? Reply with quote

Centurion

Joined: 25 Jun 2002
Posts: 144

hi all,
Obviously have question !, thats y am here.

Box A, which is a MQClient - is server to 2 tier application. My question is, will MQClient be multi-threaded, when multiple users access at the same time ? Does any sort of pooling takes place or anything like that ?

(Hope am clear with my question - if not pl let me know, will elaborate it )


thanx
M
Back to top
View user's profile Send private message
abiram8
PostPosted: Fri Jul 12, 2002 5:07 am    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 207
Location: India

Hi,

The Server can be multi threaded for N Client Thats the way mostly MQ Server is designed but in Your Case the Box you have mentioned contains
both MQClient & MQServer or only Server please breif on that
Back to top
View user's profile Send private message Send e-mail
maxis
PostPosted: Fri Jul 12, 2002 5:58 am    Post subject: ... apologize Reply with quote

Centurion

Joined: 25 Jun 2002
Posts: 144

hi abiram & group,
apologize for missing the cucial info, on box A - only MQCLIENT is installed.
And I think it doesnt matter whether am running java/microsoft application.



thanx again
M
Back to top
View user's profile Send private message
nimconsult
PostPosted: Mon Jul 15, 2002 12:46 am    Post subject: Reply with quote

Master

Joined: 22 May 2002
Posts: 268
Location: NIMCONSULT - Belgium

Yes you can run your applications with multiple threads.

The scope of a connection handle is the thread that opened the connection. So each thread has to open its own connection. You will see these connections appear as disctinct connections (no pooling).

Java is a bit special. When you create a connection, a thread is created, dedicated to serializing all MQ Series calls for this connection. This means that you can use the same connection handle in multiple threads, but all the calls to MQ will be serialized (even the MQGET with wait).
_________________
Nicolas Maréchal
Senior Architect - Partner

NIMCONSULT Software Architecture Services (Belgium)
http://www.nimconsult.be
Back to top
View user's profile Send private message Send e-mail Visit poster's website
maxis
PostPosted: Mon Jul 15, 2002 4:28 am    Post subject: Reply with quote

Centurion

Joined: 25 Jun 2002
Posts: 144

thanx Nicolas ....



M
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » MQ Client : Multi threaded ?
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.