Author |
Message
|
marika |
Posted: Mon Sep 27, 2004 4:56 am Post subject: Implicit connection to QueueManager |
|
|
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 |
|
 |
vennela |
Posted: Mon Sep 27, 2004 5:47 pm Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Mon Sep 27, 2004 6:19 pm Post subject: |
|
|
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 |
|
 |
vennela |
Posted: Mon Sep 27, 2004 9:10 pm Post subject: |
|
|
 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 |
|
 |
jefflowrey |
Posted: Tue Sep 28, 2004 2:42 am Post subject: |
|
|
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 |
|
 |
|