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 » Implicit connection to QueueManager

Post new topic  Reply to topic
 Implicit connection to QueueManager « View previous topic :: View next topic » 
Author Message
marika
PostPosted: Mon Sep 27, 2004 4:56 am    Post subject: Implicit connection to QueueManager Reply with quote

Newbie

Joined: 27 Sep 2004
Posts: 2

I am using the MQ C++ object model.
Is it wise to do an implicit connection when doing an MQGet / MQPut?
Is the connection cached?
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Sep 27, 2004 5:47 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

What do you mean implicit connection?
You have to have a connection handle to do PUT/GET.
Maybe you should tell more about your app and what you are trying to do.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Mon Sep 27, 2004 6:19 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well...

You can use a PUT1 to make an implicit connection.

But it's closed before the call returns to you.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vennela
PostPosted: Mon Sep 27, 2004 9:10 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

But Jeff:
he still needs to issue an MQCONN right
MQCONN
MOPEN
MQPUT
MQCLOSE
MQDISC

or

MQCONN
MQUT1
MQDISC

right?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Tue Sep 28, 2004 2:42 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981



Dang. I thought the PUT1 did a connection, instead of an open.

Oh well.
_________________
I am *not* the model of the modern major general.
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 » Implicit connection to QueueManager
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.