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 » General Discussion » To create Multiple Queue Manager connection handler

Post new topic  Reply to topic
 To create Multiple Queue Manager connection handler « View previous topic :: View next topic » 
Author Message
rpmohan
PostPosted: Mon Nov 03, 2003 5:28 am    Post subject: To create Multiple Queue Manager connection handler Reply with quote

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
View user's profile Send private message Yahoo Messenger
bower5932
PostPosted: Mon Nov 03, 2003 6:32 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
rpmohan
PostPosted: Mon Nov 03, 2003 9:58 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
leongor
PostPosted: Tue Nov 04, 2003 9:35 am    Post subject: Reply with quote

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
View user's profile Send private message
JasonE
PostPosted: Wed Nov 05, 2003 1:54 am    Post subject: Reply with quote

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
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 » General Discussion » To create Multiple Queue Manager connection handler
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.