|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Remote queue configuration in java |
« View previous topic :: View next topic » |
Author |
Message
|
stevenps |
Posted: Thu Jun 10, 2004 2:21 pm Post subject: Remote queue configuration in java |
|
|
Newbie
Joined: 10 Jun 2004 Posts: 3
|
We have an installation in which we are connecting to a LOCAL queue-manager which is an alias to a remote queue-manager.
The accessQueue() method in java provides only for a Queue-Name and options, but no parameter for the remote queue-manager name (such as it does in VB).
How is this done in Java,? |
|
Back to top |
|
 |
stevenps |
Posted: Thu Jun 10, 2004 2:23 pm Post subject: |
|
|
Newbie
Joined: 10 Jun 2004 Posts: 3
|
I should note that the error-code we receive is the 2085 code from IBM:
2085 MQRC_UNKNOWN_OBJECT_NAME X'825' Unknown object name. |
|
Back to top |
|
 |
vennela |
Posted: Fri Jun 11, 2004 6:56 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Code: |
accessQueue public synchronized MQQueue accessQueue (
String queueName,
int openOptions,
String queueManagerName,
String dynamicQueueName,
String alternateUserId) Throws MQException.
|
The third parameter is the QMGR Alias |
|
Back to top |
|
 |
stevenps |
Posted: Fri Jun 11, 2004 9:51 am Post subject: |
|
|
Newbie
Joined: 10 Jun 2004 Posts: 3
|
I am trying this method now. Does not seem well documented by IBM as it reflects the dynamic allocation of a queue based on a model (template). I am familiar with this in JMS, temporary queues, and assume it is a similar concept.
I believe that this will work.
From a philisophical point of view I am not pleased as I would have thought that the local queue definition would have contained the appropriate routing information and that I would not have had to specify it. |
|
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
|
|
|
|