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 » Java: MQQueueManager with URL (use of MQ-Client-Table)

Post new topic  Reply to topic
 Java: MQQueueManager with URL (use of MQ-Client-Table) « View previous topic :: View next topic » 
Author Message
mark.luebinski
PostPosted: Thu Mar 29, 2007 4:40 am    Post subject: Java: MQQueueManager with URL (use of MQ-Client-Table) Reply with quote

Acolyte

Joined: 27 Mar 2006
Posts: 56

Dear Masters,

in documentation about MQQueueManager I found the constructor-method

public MQQueueManager(String queueManagerName, URL url)
throws MQException;

But it seems to be depricated.

So, how can I use it or another question - how can I use dynamicly the MQ-Client-Table? We have MQCHLLIB/MQCHLTAB Windows-Environment-Variables, they say MQ-Client where it can find QMgr-Definition and I would like to use it instead of property file. But the usage with MQQueueManager don't work anymore.

Thank you very much!!

Mark
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Thu Mar 29, 2007 9:25 am    Post subject: Re: Java: MQQueueManager with URL (use of MQ-Client-Table) Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

Are sure that this constructor is deprecated ?

I found this

Code:
public MQQueueManager(String queueManagerName, Hashtable properties, URL url) throws MQException;


and this constructor

Code:
public MQQueueManager(String queueManagerName, URL url) throws MQException;


and I think it is not deprecated.

Example :

Code:
URL chltab= new URL("ftp://serwer/chltab/AMQCLCHL.TAB");
MQQueueManager qmgr= new MQQueueManager("QM1",chltab);

_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Thu Mar 29, 2007 3:42 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I really doubt that it will work to specify a client channel table that is only accessible over FTP....

But I'm known for being wrong on such things.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mark.luebinski
PostPosted: Fri Mar 30, 2007 1:48 am    Post subject: Reply with quote

Acolyte

Joined: 27 Mar 2006
Posts: 56

Thank you both!

@Marcin,

I found this in documentation too, but it don't work. And if I list all constructors of the Class MQQueueManager (I have the newest Version coming with WMB-Toolkit 6.0.2.IF4) I cannot see this both constructors.

Maybe I could find older version of com.ibm.mq.jar - but if it made depricated from IBM it doesn't make sense. The question is, how to use it correctly new way.

@jefflowrey - I hoped to use it not thru FTP but with File-Name as described in documentatoin (URL to file://...), but it doesn't matter which transport because of wrong Constructor.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Java: MQQueueManager with URL (use of MQ-Client-Table)
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.