|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Multiple Open Queues |
« View previous topic :: View next topic » |
Author |
Message
|
mz9lvt |
Posted: Mon Sep 03, 2001 2:03 pm Post subject: |
|
|
Newbie
Joined: 02 Sep 2001 Posts: 2
|
Can a single instance of a client application
open multiple queues at the sever through a single MQI channel. |
|
Back to top |
|
 |
kolban |
Posted: Mon Sep 03, 2001 5:34 pm Post subject: |
|
|
 Grand Master
Joined: 22 May 2001 Posts: 1072 Location: Fort Worth, TX, USA
|
Interesting question ... I had to think about this one for a moment. The answer should be (must be?) a definite yes. When one connects to a queue manager, a handle to the queue manager is returned. When one then opens a queue, another handle is returned. For multiple opens, a different handle should be returned. These handles provide the context for interaction, not any concept of a queue name or other information. Have you had a bad experience opening the same queue multiple times?
Of course there may be other considerations ... if an application opens a queue for exclusive use, no other application (even the same process) should be able to open it. |
|
Back to top |
|
 |
mz9lvt |
Posted: Wed Sep 05, 2001 9:34 am Post subject: |
|
|
Newbie
Joined: 02 Sep 2001 Posts: 2
|
Actually, I haven't had bad experiences as such... what I was interested in was how to use a single MQI Channel to open multiple queues at the server, in much the same fashion as a single transmission queue/Message Channel can be used to send messages to a number of different queues located in the target queue manager. |
|
Back to top |
|
 |
bower5932 |
Posted: Wed Sep 05, 2001 1:56 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Aug 2001 Posts: 3023 Location: Dallas, TX, USA
|
If I understand what you are asking, it is transparent to you. You'll issue your MQCONN which will get you connected to the server. You'll then issue your MQOPENs against multiple queues and they'll all go through the channel. Is this what you are asking? |
|
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
|
|
|
|