|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
To create Multiple Queue Manager connection handler |
« View previous topic :: View next topic » |
Author |
Message
|
rpmohan |
Posted: Mon Nov 03, 2003 5:28 am Post subject: To create Multiple Queue Manager connection handler |
|
|
Newbie
Joined: 04 Feb 2003 Posts: 3
|
Hello,
I am writing Multithreaded MQ program in C. My intention is Establish the 'n' number of connection to Queue Manager and store in into List and when thread is needed to use MQ connection, assign the already established connection handler to thread and get the work done.
When I issue MQCONN call 2nd time in my program, I am getting the ERR code as Already Connected... How do I get the Muliple Queue Manager connection through single process ...
Pl help me.. |
|
Back to top |
|
 |
bower5932 |
Posted: Mon Nov 03, 2003 6:32 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
Can you supply more details? What version of MQ are you running and what platform are you running on? |
|
Back to top |
|
 |
rpmohan |
Posted: Mon Nov 03, 2003 9:58 pm Post subject: |
|
|
Newbie
Joined: 04 Feb 2003 Posts: 3
|
Hello,
I am using MQ V5.2 on HP-UX 10.2. Also, I used library "libmqm_r.sl" to make multithreaded application ... |
|
Back to top |
|
 |
leongor |
Posted: Tue Nov 04, 2003 9:35 am Post subject: |
|
|
 Master
Joined: 13 May 2002 Posts: 264 Location: Israel
|
In MQ 5.2 you can work in each thread only with a connection that was created by it.
That's mean you have no connection pooling. _________________ Regards.
Leonid.
IBM Certified MQSeries Specialist. |
|
Back to top |
|
 |
JasonE |
Posted: Wed Nov 05, 2003 1:54 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
You can achieve this at v5.3 with the shared hconn option, but not at 5.2 |
|
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
|
|
|
|