|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Client : Multi threaded ? |
« View previous topic :: View next topic » |
Author |
Message
|
maxis |
Posted: Thu Jul 11, 2002 12:41 pm Post subject: MQ Client : Multi threaded ? |
|
|
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 |
|
 |
abiram8 |
Posted: Fri Jul 12, 2002 5:07 am Post subject: |
|
|
 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 |
|
 |
maxis |
Posted: Fri Jul 12, 2002 5:58 am Post subject: ... apologize |
|
|
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 |
|
 |
nimconsult |
Posted: Mon Jul 15, 2002 12:46 am Post subject: |
|
|
 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 |
|
 |
maxis |
Posted: Mon Jul 15, 2002 4:28 am Post subject: |
|
|
Centurion
Joined: 25 Jun 2002 Posts: 144
|
|
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
|
|
|
|