|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Java: MQQueueManager with URL (use of MQ-Client-Table) |
« View previous topic :: View next topic » |
Author |
Message
|
mark.luebinski |
Posted: Thu Mar 29, 2007 4:40 am Post subject: Java: MQQueueManager with URL (use of MQ-Client-Table) |
|
|
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 |
|
 |
marcin.kasinski |
Posted: Thu Mar 29, 2007 9:25 am Post subject: Re: Java: MQQueueManager with URL (use of MQ-Client-Table) |
|
|
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 |
|
 |
jefflowrey |
Posted: Thu Mar 29, 2007 3:42 pm Post subject: |
|
|
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 |
|
 |
mark.luebinski |
Posted: Fri Mar 30, 2007 1:48 am Post subject: |
|
|
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 |
|
 |
|
|
 |
|
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
|
|
|
|