Multipe Connections at the same time possible?

2003-06-26 Thread Ruzi R
Hi all,

Need a clarification:

When it says in the manuals that via a  channel table
your MQ Client app can connect to multiple qmgrs, does
it mean that one  connection or multiple
connections at the same time?

Also, on  MQ  server 5.3 on Windows NT server: If you
have 3 qmgrs on the same machine, and your server app
resides on that machine, can your server app connect
to more than 1 qmgr at the same time (getting 3
HCONNs).

I do not see any reason why multiple concurrent
connections may not be possible, as you may be able to
get multiple conn handles. But I just would like to
confirm  that...

How is it on OS/390?

Thanks,

Ruzi

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Multipe Connections at the same time possible? A bit more info

2003-06-26 Thread Ruzi R
I should re-word this part:

Also, on  MQ  server 5.3 on Windows NT server: If
you have 3 qmgrs on the same machine, and your server
app resides on that machine, can your server app
connect  to more than 1 qmgr at the same time -- if it
knows the names of these queue managers (not via a
channel table of course which is accessable only to
clients).

Thanks,

Ruzi

--- Ruzi R [EMAIL PROTECTED] wrote:
 Hi all,

 Need a clarification:

 When it says in the manuals that via a  channel
 table
 your MQ Client app can connect to multiple qmgrs,
 does
 it mean that one  connection or multiple
 connections at the same time?

 Also, on  MQ  server 5.3 on Windows NT server: If
 you
 have 3 qmgrs on the same machine, and your server
 app
 resides on that machine, can your server app connect
 to more than 1 qmgr at the same time (getting 3
 HCONNs).

 I do not see any reason why multiple concurrent
 connections may not be possible, as you may be able
 to
 get multiple conn handles. But I just would like to
 confirm  that...

 How is it on OS/390?

 Thanks,

 Ruzi



Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Multipe Connections at the same time possible?

2003-06-26 Thread Benjamin Zhou
Title: RE: Multipe Connections at the same time possible?





you can certainly connect to as many qmgrs as you have and want. just need more handles open, and in the case of client, as many client connections defined.

But it's not very common to connect to more than one qmgr at a time, although using client, you may need to connect to more than one qmgr. that's the convenience of using MQ client.

cheers,
Benjamin Zhou
State Street.


-Original Message-
From: Ruzi R [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 26, 2003 8:31 AM
To: [EMAIL PROTECTED]
Subject: Multipe Connections at the same time possible?



Hi all,


Need a clarification:


When it says in the manuals that via a channel table
your MQ Client app can connect to multiple qmgrs, does
it mean that one connection or multiple
connections at the same time?


Also, on MQ server 5.3 on Windows NT server: If you
have 3 qmgrs on the same machine, and your server app
resides on that machine, can your server app connect
to more than 1 qmgr at the same time (getting 3
HCONNs).


I do not see any reason why multiple concurrent
connections may not be possible, as you may be able to
get multiple conn handles. But I just would like to
confirm that...


How is it on OS/390?


Thanks,


Ruzi


Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive





Re: Multipe Connections at the same time possible? A bit more info

2003-06-26 Thread Mqonnet






Ruzi,
You cannot have more than one queue manager connected from the same application unless you are using threads. If you are using threads, then you can connect to more than one queue manager from within the same application process, but you need to do so in different threads and nota single one. Again you have to bear in mind that you cannot share Hconnsbetween threads.

Cheers
Kumar

---Original Message---


From: MQSeries List
Date: Thursday, June 26, 2003 11:03:57 AM
To: [EMAIL PROTECTED]
Subject: Re: Multipe Connections at the same time possible? A bit more info

I should re-word this part:

Also, on MQ server 5.3 on Windows NT server: If
you have 3 qmgrs on the same machine, and your server
app resides on that machine, can your server app
connect to more than 1 qmgr at the same time -- if it
knows the names of these queue managers (not via a
channel table of course which is accessable only to
clients).

Thanks,

Ruzi

--- Ruzi R [EMAIL PROTECTED] wrote:
 Hi all,

 Need a clarification:

 When it says in the manuals that via a channel
 table
 your MQ Client app can connect to multiple qmgrs,
 does
 it mean that "one" connection or "multiple"
 connections at the same time?

 Also, on MQ server 5.3 on Windows NT server: If
 you
 have 3 qmgrs on the same machine, and your server
 app
 resides on that machine, can your server app connect
 to more than 1 qmgr at the same time (getting 3
 HCONNs).

 I do not see any reason why multiple concurrent
 connections may not be possible, as you may be able
 to
 get multiple conn handles. But I just would like to
 confirm that...

 How is it on OS/390?

 Thanks,

 Ruzi



Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
.







 IncrediMail - Email has finally evolved - Click Here

Re: Multipe Connections at the same time possible? A bit more info

2003-06-26 Thread Mqonnet






Just a small clarification, my previous response was with reference to you being a serve app.

Cheers
Kumar

---Original Message---


From: MQSeries List
Date: Thursday, June 26, 2003 11:03:57 AM
To: [EMAIL PROTECTED]
Subject: Re: Multipe Connections at the same time possible? A bit more info

I should re-word this part:

Also, on MQ server 5.3 on Windows NT server: If
you have 3 qmgrs on the same machine, and your server
app resides on that machine, can your server app
connect to more than 1 qmgr at the same time -- if it
knows the names of these queue managers (not via a
channel table of course which is accessable only to
clients).

Thanks,

Ruzi

--- Ruzi R [EMAIL PROTECTED] wrote:
 Hi all,

 Need a clarification:

 When it says in the manuals that via a channel
 table
 your MQ Client app can connect to multiple qmgrs,
 does
 it mean that "one" connection or "multiple"
 connections at the same time?

 Also, on MQ server 5.3 on Windows NT server: If
 you
 have 3 qmgrs on the same machine, and your server
 app
 resides on that machine, can your server app connect
 to more than 1 qmgr at the same time (getting 3
 HCONNs).

 I do not see any reason why multiple concurrent
 connections may not be possible, as you may be able
 to
 get multiple conn handles. But I just would like to
 confirm that...

 How is it on OS/390?

 Thanks,

 Ruzi



Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive
.







 IncrediMail - Email has finally evolved - Click Here

Re: Multipe Connections at the same time possible?

2003-06-26 Thread Ruzi R
Thanks Benjamin and Kumar... I thought so too...

Ruzi
--- Benjamin Zhou [EMAIL PROTECTED] wrote:
 you can certainly connect to as many qmgrs as you
 have and want. just need
 more handles open, and in the case of client, as
 many client connections
 defined.

 But it's not very common to connect to more than one
 qmgr at a time,
 although using client, you may need to connect to
 more than one qmgr. that's
 the convenience of using MQ client.

 cheers,
 Benjamin Zhou
 State Street.

 -Original Message-
 From: Ruzi R [mailto:[EMAIL PROTECTED]
 Sent: Thursday, June 26, 2003 8:31 AM
 To: [EMAIL PROTECTED]
 Subject: Multipe Connections at the same time
 possible?


 Hi all,

 Need a clarification:

 When it says in the manuals that via a  channel
 table
 your MQ Client app can connect to multiple qmgrs,
 does
 it mean that one  connection or multiple
 connections at the same time?

 Also, on  MQ  server 5.3 on Windows NT server: If
 you
 have 3 qmgrs on the same machine, and your server
 app
 resides on that machine, can your server app connect
 to more than 1 qmgr at the same time (getting 3
 HCONNs).

 I do not see any reason why multiple concurrent
 connections may not be possible, as you may be able
 to
 get multiple conn handles. But I just would like to
 confirm  that...

 How is it on OS/390?

 Thanks,

 Ruzi

 Instructions for managing your mailing list
 subscription are provided in
 the Listserv General Users Guide available at
 http://www.lsoft.com
 Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Multipe Connections at the same time possible? A bit more info

2003-06-26 Thread Miller, Dennis
There are two types of connections: client connections and server connections.  You 
can do either from an application that runs on the same machine as the MQ server.  On 
a machine without an MQ server you can only use client connections.  Using server 
connections, an application can only connect to one MQ server at a time.  Using client 
connections, an application can connect to multiple MQ servers--even if they are on 
the same machine as the application.

 -Original Message-
 From: Ruzi R [SMTP:[EMAIL PROTECTED]
 Sent: Thursday, June 26, 2003 6:48 AM
 To:   [EMAIL PROTECTED]
 Subject:   Re: Multipe Connections at the same time possible? A bit more info
 
 I should re-word this part:
 
 Also, on  MQ  server 5.3 on Windows NT server: If
 you have 3 qmgrs on the same machine, and your server
 app resides on that machine, can your server app
 connect  to more than 1 qmgr at the same time -- if it
 knows the names of these queue managers (not via a
 channel table of course which is accessable only to
 clients).
 
 Thanks,
 
 Ruzi
 
 --- Ruzi R [EMAIL PROTECTED] wrote:
  Hi all,
 
  Need a clarification:
 
  When it says in the manuals that via a  channel
  table
  your MQ Client app can connect to multiple qmgrs,
  does
  it mean that one  connection or multiple
  connections at the same time?
 
  Also, on  MQ  server 5.3 on Windows NT server: If
  you
  have 3 qmgrs on the same machine, and your server
  app
  resides on that machine, can your server app connect
  to more than 1 qmgr at the same time (getting 3
  HCONNs).
 
  I do not see any reason why multiple concurrent
  connections may not be possible, as you may be able
  to
  get multiple conn handles. But I just would like to
  confirm  that...
 
  How is it on OS/390?
 
  Thanks,
 
  Ruzi
 
 
 
 Instructions for managing your mailing list subscription are provided in
 the Listserv General Users Guide available at http://www.lsoft.com
 Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Multipe Connections at the same time possible? A bit more info

2003-06-26 Thread Ruzi R
Dennis,

 Using server connections, an application can only
 connect to one MQ server at a time.

If the App is threaded, can't each thread connect to a
different qmgr at the same time?

Thanks,

Ruzi
--- Miller, Dennis [EMAIL PROTECTED] wrote:
 There are two types of connections: client
 connections and server connections.  You can do
 either from an application that runs on the same
 machine as the MQ server.  On a machine without an
 MQ server you can only use client connections.
 Using server connections, an application can only
 connect to one MQ server at a time.  Using client
 connections, an application can connect to multiple
 MQ servers--even if they are on the same machine as
 the application.

  -Original Message-
  From: Ruzi R [SMTP:[EMAIL PROTECTED]
  Sent: Thursday, June 26, 2003 6:48 AM
  To:   [EMAIL PROTECTED]
  Subject:   Re: Multipe Connections at the
 same time possible? A bit more info
 
  I should re-word this part:
 
  Also, on  MQ  server 5.3 on Windows NT server: If
  you have 3 qmgrs on the same machine, and your
 server
  app resides on that machine, can your server app
  connect  to more than 1 qmgr at the same time --
 if it
  knows the names of these queue managers (not via a
  channel table of course which is accessable only
 to
  clients).
 
  Thanks,
 
  Ruzi
 
  --- Ruzi R [EMAIL PROTECTED] wrote:
   Hi all,
  
   Need a clarification:
  
   When it says in the manuals that via a  channel
   table
   your MQ Client app can connect to multiple
 qmgrs,
   does
   it mean that one  connection or multiple
   connections at the same time?
  
   Also, on  MQ  server 5.3 on Windows NT server:
 If
   you
   have 3 qmgrs on the same machine, and your
 server
   app
   resides on that machine, can your server app
 connect
   to more than 1 qmgr at the same time (getting 3
   HCONNs).
  
   I do not see any reason why multiple concurrent
   connections may not be possible, as you may be
 able
   to
   get multiple conn handles. But I just would like
 to
   confirm  that...
  
   How is it on OS/390?
  
   Thanks,
  
   Ruzi
  
  
 
  Instructions for managing your mailing list
 subscription are provided in
  the Listserv General Users Guide available at
 http://www.lsoft.com
  Archive: http://vm.akh-wien.ac.at/MQSeries.archive

 Instructions for managing your mailing list
 subscription are provided in
 the Listserv General Users Guide available at
 http://www.lsoft.com
 Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive


Re: Multipe Connections at the same time possible? A bit more info

2003-06-26 Thread Miller, Dennis
I believe V5.3 on NT differentiates applications at the thread level, so each thread 
can connect to a different qmgr. 

 -Original Message-
 From: Ruzi R [SMTP:[EMAIL PROTECTED]
 Sent: Thursday, June 26, 2003 11:30 AM
 To:   [EMAIL PROTECTED]
 Subject:   Re: Multipe Connections at the same time possible? A bit more info
 
 Dennis,
 
  Using server connections, an application can only
  connect to one MQ server at a time.
 
 If the App is threaded, can't each thread connect to a
 different qmgr at the same time?
 
 Thanks,
 
 Ruzi
 --- Miller, Dennis [EMAIL PROTECTED] wrote:
  There are two types of connections: client
  connections and server connections.  You can do
  either from an application that runs on the same
  machine as the MQ server.  On a machine without an
  MQ server you can only use client connections.
  Using server connections, an application can only
  connect to one MQ server at a time.  Using client
  connections, an application can connect to multiple
  MQ servers--even if they are on the same machine as
  the application.
 
   -Original Message-
   From: Ruzi R [SMTP:[EMAIL PROTECTED]
   Sent: Thursday, June 26, 2003 6:48 AM
   To:   [EMAIL PROTECTED]
   Subject:   Re: Multipe Connections at the
  same time possible? A bit more info
  
   I should re-word this part:
  
   Also, on  MQ  server 5.3 on Windows NT server: If
   you have 3 qmgrs on the same machine, and your
  server
   app resides on that machine, can your server app
   connect  to more than 1 qmgr at the same time --
  if it
   knows the names of these queue managers (not via a
   channel table of course which is accessable only
  to
   clients).
  
   Thanks,
  
   Ruzi
  
   --- Ruzi R [EMAIL PROTECTED] wrote:
Hi all,
   
Need a clarification:
   
When it says in the manuals that via a  channel
table
your MQ Client app can connect to multiple
  qmgrs,
does
it mean that one  connection or multiple
connections at the same time?
   
Also, on  MQ  server 5.3 on Windows NT server:
  If
you
have 3 qmgrs on the same machine, and your
  server
app
resides on that machine, can your server app
  connect
to more than 1 qmgr at the same time (getting 3
HCONNs).
   
I do not see any reason why multiple concurrent
connections may not be possible, as you may be
  able
to
get multiple conn handles. But I just would like
  to
confirm  that...
   
How is it on OS/390?
   
Thanks,
   
Ruzi
   
   
  
   Instructions for managing your mailing list
  subscription are provided in
   the Listserv General Users Guide available at
  http://www.lsoft.com
   Archive: http://vm.akh-wien.ac.at/MQSeries.archive
 
  Instructions for managing your mailing list
  subscription are provided in
  the Listserv General Users Guide available at
  http://www.lsoft.com
  Archive: http://vm.akh-wien.ac.at/MQSeries.archive
 
 Instructions for managing your mailing list subscription are provided in
 the Listserv General Users Guide available at http://www.lsoft.com
 Archive: http://vm.akh-wien.ac.at/MQSeries.archive

Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://vm.akh-wien.ac.at/MQSeries.archive