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 Java / JMS » QMgr generic name in java & jms

Post new topic  Reply to topic
 QMgr generic name in java & jms « View previous topic :: View next topic » 
Author Message
vilyin
PostPosted: Tue Dec 09, 2003 6:29 am    Post subject: QMgr generic name in java & jms Reply with quote

Novice

Joined: 26 Mar 2002
Posts: 20
Location: Ilyin Consulting Knowledge, Inc. USA - Boston, NY tri-state

Hi all:

This question is to java world people who played with MQ a little:
Is there any way to specify a generic QMgr name for java and jms client? I tried both asterisk(*) and '<partial name>*' w/o success. Is there some sort of escape charecter to use?
Theoretically it should be working following the thought that jms is implemented on top of MQ java classes and java classes in turn implemented on top of C MQI and it does work with C. Both jms and java clients have exactly the same information connecting to the QMgr as their counterparts C clients: server name(ip), port, SVRCONN channel name and QMgr name.

Waiting for suggestions,
Thanks.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
bower5932
PostPosted: Tue Dec 09, 2003 7:00 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

I believe the '*' is something that comes into play with the client connection table which is not supported by the Java/JMS.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
vilyin
PostPosted: Tue Dec 09, 2003 8:48 am    Post subject: Reply with quote

Novice

Joined: 26 Mar 2002
Posts: 20
Location: Ilyin Consulting Knowledge, Inc. USA - Boston, NY tri-state

Well, it's not only for the clnt table. It's a for any C client.
If you set MQSERVER and connect to the QMgr by specifying its name as star(*) it'll work, even using amqs(put/get)c samples.
And this is very reasonable: you already have specified all the values to establish this connection unambiguously. Whether it's inetd or runmqlsr on the other side, it's listening on a particular port "pointing" to the particular QMgr.
Having being able to specify * as a QMgr name would allow to implement load balancing of the clients at the DNS level oppose to the client side.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » QMgr generic name in java & jms
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.