Author |
Message
|
PeterPotkay |
Posted: Fri Apr 22, 2005 10:52 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7723
|
Nigelg wrote: |
A gateway qmgr is still a good idea to determine the destination of msgs originating outside the cluster. |
Right, but would you recommend that it is a dedicated QM strictly for this purpose, or is round robining such a low resource, it doesn't matter if you make a "real" QM with some of the destination queues defined locally as the gateway in 6.0? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
Nigelg |
Posted: Mon Apr 25, 2005 12:04 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Exercising the round-robin algorithm (on a full repos qmgr) uses very few resources. All instances of the queue/qmgr are read from the cluster cache already in memory, and each pair is 'scored', also in memory. There are no disk reads involved, so the whole thing is done very quickly.
On a partial repos qmgr this would take longer if the queue has not previously been referenced, or if a REFRESH CLUSTER has been done. In that case the partial repos has to get definitions of the queue from its connected full repos to load into its local cluster cache, and that would take some time. However, this is a one-time hit for each queue. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Oct 27, 2005 7:48 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7723
|
jefflowrey wrote: |
Also,
Quote: |
* JMS clients can use the channel definition table and run the same channel exits as other clients. |
If it's in JMS, I bet it's in Java API as well... |
Has anyone played around with Java and MQ Channel Tables yet? Does it really work? I am interested in base Java more than JMS. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Oct 27, 2005 8:44 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
PeterPotkay wrote: |
jefflowrey wrote: |
Also,
Quote: |
* JMS clients can use the channel definition table and run the same channel exits as other clients. |
If it's in JMS, I bet it's in Java API as well... |
Has anyone played around with Java and MQ Channel Tables yet? Does it really work? I am interested in base Java more than JMS. |
There doesn't appear, from a run through of the new base API, to be a way to tell it where the channel table lives...
So, maybe I lose my bet...  _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Oct 27, 2005 9:03 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Oct 27, 2005 9:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
I would never expect a URL to be used that way. I would assume that a URL would be used in some way to replace hostname/channelname/port#. And expect that given everything else, that channeltable would be a property of MQEnvironment....
As a side note, there is no documentation for the MQConnectionManager interface - merely for the one class that implements it (MQSimpleConnectionManager). _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Thu Oct 27, 2005 9:26 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7723
|
Wayne, not being a Java dude, otherwise I would just try it, does that work? Have you actually execuated that code and tested it? _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
wschutz |
Posted: Thu Oct 27, 2005 9:29 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Peter, I haven't yet, but will give it a try tonight.
BTW..Jeff... I can't find anything on using a channel table from JMS, did you see anything? _________________ -wayne |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Oct 27, 2005 9:37 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
wschutz wrote: |
BTW..Jeff... I can't find anything on using a channel table from JMS, did you see anything? |
It looks like it's the setCCDTURL property of MQConnectionFactory. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
wschutz |
Posted: Thu Oct 27, 2005 3:02 pm Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Quote: |
Have you actually execuated that code and tested it? |
I gave it a quick test with the base classes and it works as advertised.
I was surprise to see however, that if the SVRCONN channel isn't defined, you get a 2009 back (instead of a 2059). Things like no listener running do return a 2059.
I didn't test the JMS stuff, and of course this is under linux  _________________ -wayne |
|
Back to top |
|
 |
|