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 » Search

 Search found 8 matches
Author Message
  Topic: Multiple Connections
kumoyuki

Replies: 21
Views: 18025

PostForum: IBM MQ API Support   Posted: Wed Jul 28, 2010 12:41 am   Subject: Multiple Connections
I have to correct my assertion that I am always getting MQCC_OK/MQRC_NONE back from the MQCONNX call. I don;t know what has been fogging my mind, but I note now that on the second and subsequent calls ...
  Topic: Multiple Connections
kumoyuki

Replies: 21
Views: 18025

PostForum: IBM MQ API Support   Posted: Wed Jul 28, 2010 12:10 am   Subject: Multiple Connections
So I changed the channel "sharing conversations" value from 10 down to zero and it had no effect. I am still getting that lovely "6" for the MQHCONN returned from MQCONNX; the comp ...
  Topic: Multiple Connections
kumoyuki

Replies: 21
Views: 18025

PostForum: IBM MQ API Support   Posted: Tue Jul 27, 2010 5:31 am   Subject: Multiple Connections
> Are you linking against mqm.lib or mqic.lib?

Dynamically loading mqic32.dll. Literally:

LoadLibrary("mqic32.dll");

> You *need* to be linking against mqic.lib for this to wo ...
  Topic: Multiple Connections
kumoyuki

Replies: 21
Views: 18025

PostForum: IBM MQ API Support   Posted: Tue Jul 27, 2010 3:12 am   Subject: Multiple Connections
> Okay, so at no point do you specify the qmgr name

Actually if you look at the code there is a variable passed as the first param of the MQCONNX call. That cariable holds a string which has the ...
  Topic: Multiple Connections
kumoyuki

Replies: 21
Views: 18025

PostForum: IBM MQ API Support   Posted: Mon Jul 26, 2010 10:11 pm   Subject: Multiple Connections
> I'm not sure what MQHCONN==6 means.

It means that every call to MQCONN or MQCONNX returns to me a handle of type MHQCONN where the value is equal to 6.

> An MQHCONN is a pointer, and as ...
  Topic: Multiple Connections
kumoyuki

Replies: 21
Views: 18025

PostForum: IBM MQ API Support   Posted: Mon Jul 26, 2010 6:40 am   Subject: Re: Multiple Connections
>> Having to manage the MQHCONN globally is that extra bit of pain, but
>> its hardly noticeable compared to the rest of the system...

> it's not clear that you need to do so

Wel ...
  Topic: Multiple Connections
kumoyuki

Replies: 21
Views: 18025

PostForum: IBM MQ API Support   Posted: Mon Jul 26, 2010 6:03 am   Subject: Re: Multiple Connections
Is it just impossible to establish multiple queue manager connections from within a single windows exe?

If the subsystems are so independant they do their own connections (and apparently interconne ...
  Topic: Multiple Connections
kumoyuki

Replies: 21
Views: 18025

PostForum: IBM MQ API Support   Posted: Mon Jul 26, 2010 2:43 am   Subject: Multiple Connections
Hi all -

I imagine that this is something that ought to be a FAQ, but i'm not finding it as I trawl through the net. In short, I have an application (on u$oft Windows) that has multiple independent ...
Page 1 of 1

Jump to:  
Protected by Anti-Spam ACP
 
 


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

Copyright © MQSeries.net. All rights reserved.